Export (0) Print
Expand All

DriveInfo Members

Provides access to information on a drive.

The following tables list the members exposed by the DriveInfo type.

  Name Description
Public method DriveInfo Provides access to information on the specified drive.
Top

  Name Description
Public property AvailableFreeSpace Indicates the amount of available free space on a drive.
Public property DriveFormat Gets the name of the file system, such as NTFS or FAT32.
Public property DriveType Gets the drive type.
Public property IsReady Gets a value indicating whether a drive is ready.
Public property Name Gets the name of a drive.
Public property RootDirectory Gets the root directory of a drive.
Public property TotalFreeSpace Gets the total amount of free space available on a drive.
Public property TotalSize Gets the total size of storage space on a drive.
Public property VolumeLabel Gets or sets the volume label of a drive.
Top

  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static GetDrives Retrieves the drive names of all logical drives on a computer.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden. Returns a drive name as a string.
Top

Community Additions

ADD
Show:
© 2014 Microsoft