FilePathGetAvailableFreeSpace Method

Tries to get the free space values for a given path. This path can be a network share or a mount point.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.163 -- Release Build+087b6813ba03894bf4bfe2466a2a63a9702d9bb9
public static bool GetAvailableFreeSpace(
	string pathName,
	out long freeSpace,
	out long totalSize
)

Parameters

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

Boolean
true if successful; otherwise false if there was an error.

See Also