Provides access to information on a drive.
Assembly: mscorlib (in mscorlib.dll)
Indicates the amount of available free space on a drive, in bytes.
Gets the name of the file system, such as NTFS or FAT32.
Gets the drive type, such as CD-ROM, removable, network, or fixed.
Gets a value that indicates whether a drive is ready.
Gets the name of a drive, such as C:\.
Gets the root directory of a drive.
Gets the total amount of free space available on a drive, in bytes.
Gets the total size of storage space on a drive, in bytes.
Gets or sets the volume label of a drive.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Retrieves the drive names of all logical drives on a computer.
Serves as the default hash function. (Inherited from Object.)
Returns a drive name as a string.(Overrides Object.ToString().)
Populates a SerializationInfo object with the data needed to serialize the target object.
This class models a drive and provides methods and properties to query for drive information. Useto determine what drives are available, and what type of drives they are. You can also query to determine the capacity and available free space on the drive.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.