This documentation is archived and is not being maintained.
Provides access to information on a drive.
The DriveInfo type exposes the following members.
|Equals||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a drive name as a string. (Overrides Object.ToString().)|
|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.|