Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DriveInfo Properties

DriveInfo Properties

The DriveInfo type exposes the following members.

  Name Description
Public property AvailableFreeSpace Indicates the amount of available free space on a drive, in bytes.
Public property DriveFormat Gets the name of the file system, such as NTFS or FAT32.
Public property DriveType Gets the drive type, such as CD-ROM, removable, network, or fixed.
Public property IsReady Gets a value that indicates whether a drive is ready.
Public property Name Gets the name of a drive, such as C:\.
Public property RootDirectory Gets the root directory of a drive.
Public property TotalFreeSpace Gets the total amount of free space available on a drive, in bytes.
Public property TotalSize Gets the total size of storage space on a drive, in bytes.
Public property VolumeLabel Gets or sets the volume label of a drive.
Top
Show:
© 2015 Microsoft