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
[read-only] | AvailableFreeSpace | long.
Indicates the amount of available free space on a drive, in bytes. |
[read-only] | DriveFormat | string.
Gets the name of the file system, such as NTFS or FAT32. |
[read-only] | DriveType | DriveType.
Gets the drive type, such as CD-ROM, removable, network, or fixed. |
[read-only] | IsReady | bool.
Gets a value that indicates whether a drive is ready. |
[read-only] | Name | string.
Gets the name of a drive, such as C:\. |
[read-only] | RootDirectory | DirectoryInfo.
Gets the root directory of a drive. |
[read-only] | TotalFreeSpace | long.
Gets the total amount of free space available on a drive, in bytes. |
[read-only] | TotalSize | long.
Gets the total size of storage space on a drive, in bytes. |
VolumeLabel | string.
Gets or sets the volume label of a drive. |