DriveInfo Class |
Namespace: Alphaleonis.Win32.Filesystem
The DriveInfo type exposes the following members.
Name | Description | |
---|---|---|
AvailableFreeSpace | Indicates the amount of available free space on a drive. | |
DiskSpaceInfo | [AlphaFS] Returns the instance. | |
DosDeviceName | [AlphaFS] The MS-DOS device name. | |
DriveFormat | Gets the name of the file system, such as NTFS or FAT32. | |
DriveType | Gets the drive type. | |
IsDosDeviceSubstitute | [AlphaFS] Indicates if this drive is a SUBST.EXE / DefineDosDevice drive mapping. | |
IsReady | Gets a value indicating whether a drive is ready. | |
IsUnc | [AlphaFS] Indicates if this drive is a UNC path. | |
IsVolume | [AlphaFS] Determines whether the specified volume name is a defined volume on the current computer. | |
Name | Gets the name of the drive. | |
RootDirectory | Gets the root directory of a drive. | |
TotalFreeSpace | Gets the total amount of free space available on a drive. | |
TotalSize | Gets the total size of storage space on a drive. | |
VolumeInfo | [AlphaFS] Contains information about a file-system volume. | |
VolumeLabel | Gets or sets the volume label of a drive. |
Name | Description | |
---|---|---|
EnumerateDrives | [AlphaFS] Enumerates the drive names of all logical drives on the Computer. | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDrives | Retrieves the drive names of all logical drives on the Computer. | |
GetFreeDriveLetter | [AlphaFS] Gets the first available drive letter on the local system. | |
GetFreeDriveLetter(Boolean) | Gets an available drive letter on the local system. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a drive name as a string. (Overrides ObjectToString.) |