$cs.Sys_GetFreeDiskSpace

Syntax

$cs.Sys_GetFreeDiskSpace(string drive = "C:")

 

Parameters

drive

Drive to get free diskspace from (default is C:)

 

Example

$freeDiskspace=Sys_GetFreeDiskSpace()

returns value in MB as double