DriveInfo Properties

DriveInfo Properties

 

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubpropertyAvailableFreeSpace

Indicates the amount of available free space on a drive, in bytes.

System_CAPS_pubpropertyDriveFormat

Gets the name of the file system, such as NTFS or FAT32.

System_CAPS_pubpropertyDriveType

Gets the drive type, such as CD-ROM, removable, network, or fixed.

System_CAPS_pubpropertyIsReady

Gets a value that indicates whether a drive is ready.

System_CAPS_pubpropertyName

Gets the name of a drive, such as C:\.

System_CAPS_pubpropertyRootDirectory

Gets the root directory of a drive.

System_CAPS_pubpropertyTotalFreeSpace

Gets the total amount of free space available on a drive, in bytes.

System_CAPS_pubpropertyTotalSize

Gets the total size of storage space on a drive, in bytes.

System_CAPS_pubpropertyVolumeLabel

Gets or sets the volume label of a drive.

Return to top
Show:
© 2016 Microsoft