Mono Class Library: Mono.Unix.UnixDriveInfo Overview | Members

Mono.Unix.UnixDriveInfo.TotalFreeSpace Property

Gets the total free space on the volume. [Edit]

public long TotalFreeSpace { get; }

Value

A long containing the total free space on the Unix volume. [Edit]

Exceptions

TypeReason
InvalidOperationException There was an error retrieving the total free space. The volume may not be mounted. [Edit]

Remarks

The total free space includes all the free space on the Unix volume, and may include space the normal users are not able to write to, either because of disk quotas or because space is reserved for the super-user (root).

Use UnixDriveInfo.AvailableFreeSpace for the available free space, excluding space reserved for the super-user.

[Edit]

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0