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: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static bool GetAvailableFreeSpace(
string pathName,
out long freeSpace,
out long totalSize
)
Public Shared Function GetAvailableFreeSpace (
pathName As String,
<OutAttribute> ByRef freeSpace As Long,
<OutAttribute> ByRef totalSize As Long
) As Boolean
public:
static bool GetAvailableFreeSpace(
String^ pathName,
[OutAttribute] long long% freeSpace,
[OutAttribute] long long% totalSize
)
Gemstone.IO.FilePath.GetAvailableFreeSpace = function(pathName, freeSpace, totalSize);
- 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.
Booleantrue if successful; otherwise
false if there was an error.