|
FilePathGetAvailableFreeSpace Method
|
Tries to get the free space values for a given path. This path can be a network share or a mount point.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax public static bool GetAvailableFreeSpace(
string pathName,
out long freeSpace,
out long totalSize
)
static member GetAvailableFreeSpace :
pathName : string *
freeSpace : int64 byref *
totalSize : int64 byref -> bool
GSF.IO.FilePath.GetAvailableFreeSpace = function(pathName, freeSpace, totalSize);
View SourceParameters
- pathName String
- The path to the location
- freeSpace Int64
- The number of user space bytes
- totalSize Int64
- The total number of bytes on the drive.
Return Value
Booleantrue if successful; otherwise
false if there was an error.
See Also