DriveInfo

DriveInfo


Provides methods to access information about a drive.


Remarks

A constructor is used to create a new DriveInfo.

 Set info = NewDriveInfo("c:\")
 

See Also

Project VBCorLib Overview | DriveInfoStatic | Constructors | FileInfo | DirectoryInfo

Implements:

IObject 

Public:

Properties:

NameDescription
 AvailableFreeSpace (get)Returns the amount of free space is available allowed for the current account use. 
 DriveFormat (get)Returns the drive format (NTFS, FAT32, ...) 
 DriveType (get)Returns the type of drive this instance represents. 
 IsReady (get)Returns if the drive is ready to be accessed. 
 Name (get)Returns the name of the drive. 
 RootDirectory (get)Returns a DirectoryInfo of the root directory for the drive. 
 SerialNumber (get)Returns the serial number for the drive. 
 TotalFreeSpace (get)Returns the amount of free space on the drive. 
 TotalSize (get)Returns the amount of storage the drive media is capable of holding. 
 VolumeLabel (get)Returns the volume name. 
 VolumeLabel (let)Sets the volume name. 

Methods:

NameDescription
 EqualsReturns a boolean indicating if the value and this object instance are the same instance. 
 GetHashCodeReturns a pseudo-unique number identifying this instance. 
 ToStringReturns a string representation of this object instance.