DriveInfo.TotalFreeSpace Property
Click or drag to resize
DriveInfoTotalFreeSpace Property
Gets the total amount of free space available on a drive.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public long TotalFreeSpace { get; }

Return Value

Type: Int64
The total free space available on a drive, in bytes.
Remarks
This property indicates the total amount of free space available on the drive, not just what is available to the current user.
See Also