DriveInfo Members
.NET Framework 3.0
Provides access to information on a drive.
The following tables list the members exposed by the DriveInfo type.
| Name | Description | |
|---|---|---|
| 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. |
| Name | Description | |
|---|---|---|
| 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. |