System.IO.DriveInfo: Property Members

The properties of System.IO.DriveInfo are listed below. For a list of all members, see the DriveInfo Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
AvailableFreeSpacelong.

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

[read-only]
DriveFormatstring.

Gets the name of the file system, such as NTFS or FAT32.

[read-only]
DriveTypeDriveType.

Gets the drive type, such as CD-ROM, removable, network, or fixed.

[read-only]
IsReadybool.

Gets a value that indicates whether a drive is ready.

[read-only]
Namestring.

Gets the name of a drive, such as C:\.

[read-only]
RootDirectoryDirectoryInfo.

Gets the root directory of a drive.

[read-only]
TotalFreeSpacelong.

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

[read-only]
TotalSizelong.

Gets the total size of storage space on a drive, in bytes.

VolumeLabelstring.

Gets or sets the volume label of a drive.