Provides access to information on a drive.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|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(Object)||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().)|
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.