This documentation is archived and is not being maintained.
Provides access to information on a drive.
The following tables list the members exposed by the DriveInfo type.
|AvailableFreeSpace||Indicates the amount of available free space on a drive.|
|DriveFormat||Gets the name of the file system, such as NTFS or FAT32.|
|DriveType||Gets the drive type.|
|IsReady||Gets a value indicating whether a drive is ready.|
|Name||Gets the name of a drive.|
|RootDirectory||Gets the root directory of a drive.|
|TotalFreeSpace||Gets the total amount of free space available on a drive.|
|TotalSize||Gets the total size of storage space on a drive.|
|VolumeLabel||Gets or sets the volume label of a drive.|
|Equals||Overloaded. Determines whether two Object instances are equal. (inherited from Object)|
|GetDrives||Retrieves the drive names of all logical drives on a computer.|
|GetHashCode||Serves as a hash function for a particular type. (inherited from Object)|
|GetType||Gets the Type of the current instance. (inherited from Object)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (inherited from Object)|
|ToString||Overridden. Returns a drive name as a string.|