System.IO.DriveInfo.TotalFreeSpace Property

Gets the total amount of free space available on a drive, in bytes.

Syntax

public long TotalFreeSpace { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property indicates the total amount of free space available on the drive, not just what is available to the current user.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0