Volume Class |
Namespace: Alphaleonis.Win32.Filesystem
The Volume type exposes the following members.
Name | Description | |
---|---|---|
DefineDosDevice(String, String) | Defines, redefines, or deletes MS-DOS device names. | |
DefineDosDevice(String, String, DosDeviceAttributes) | Defines, redefines, or deletes MS-DOS device names. | |
DeleteCurrentVolumeLabel | Deletes the label of the file system volume that is the root of the current directory.
| |
DeleteDosDevice(String) | Deletes an MS-DOS device name. | |
DeleteDosDevice(String, String) | Deletes an MS-DOS device name. | |
DeleteDosDevice(String, String, Boolean) | Deletes an MS-DOS device name. | |
DeleteDosDevice(String, String, DosDeviceAttributes, Boolean) | Deletes an MS-DOS device name. | |
DeleteVolumeLabel | Deletes the label of a file system volume. | |
DeleteVolumeMountPoint | Deletes a Drive letter or mounted folder. | |
EnumerateVolumeMountPoints |
Returns an enumerable collection of String of all mounted folders (volume mount points) on the specified volume.
| |
EnumerateVolumePathNames |
Returns an enumerable collection of String drive letters and mounted folder paths for the specified volume.
| |
EnumerateVolumes | Returns an enumerable collection of String volumes on the computer. | |
GetCurrentDriveType |
Determines, based on the root of the current directory, whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network
drive.
| |
GetDiskFreeSpace(String) |
Retrieves information about the amount of space that is available on a disk volume, which is the total amount of space, the total
amount of free space, and the total amount of free space available to the user that is associated with the calling thread.
| |
GetDiskFreeSpace(String, NullableBoolean) |
Retrieves information about the amount of space that is available on a disk volume, which is the total amount of space, the total
amount of free space, and the total amount of free space available to the user that is associated with the calling thread.
| |
GetDriveFormat | Gets the name of the file system, such as NTFS or FAT32. | |
GetDriveNameForNtDeviceName | Gets the drive letter from an MS-DOS device name. For example: "\Device\HarddiskVolume2" returns "C:\". | |
GetDriveType | Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive. | |
GetUniqueVolumeNameForPath |
Get the unique volume name for the given path.
| |
GetVolumeDeviceName | Retrieves the Win32 Device name from the Volume name. | |
GetVolumeDisplayName | Gets the shortest display name for the specified volumeName. | |
GetVolumeGuid |
Retrieves a volume Guid path for the volume that is associated with the specified volume mount point (drive letter,
volume GUID path, or mounted folder).
| |
GetVolumeGuidForNtDeviceName |
Tranlates DosDevicePath to a Volume GUID. For example: "\Device\HarddiskVolumeX\path\filename.ext" can translate to: "\path\
filename.ext" or: "\\?\Volume{GUID}\path\filename.ext".
| |
GetVolumeInfo(SafeFileHandle) | Retrieves information about the file system and volume associated with the specified root file or directorystream. | |
GetVolumeInfo(String) | Retrieves information about the file system and volume associated with the specified root file or directorystream. | |
GetVolumeLabel | Retrieve the label of a file system volume. | |
GetVolumePathName | Retrieves the volume mount point where the specified path is mounted. | |
IsReady | Gets a value indicating whether a drive is ready. | |
IsSameVolume | Determines whether the volume of two file system objects is the same. | |
IsVolume | Determines whether the specified volume name is a defined volume on the current computer. | |
QueryAllDosDevices | Retrieves a list of all existing MS-DOS device names. | |
QueryAllDosDevices(String) | Retrieves a list of all existing MS-DOS device names. | |
QueryDosDevice |
Retrieves information about MS-DOS device names. The function can obtain the current mapping for a particular MS-DOS device name.
The function can also obtain a list of all existing MS-DOS device names.
| |
SetCurrentVolumeLabel | Sets the label of the file system volume that is the root of the current directory. | |
SetVolumeLabel | Sets the label of a file system volume. | |
SetVolumeMountPoint | Associates a volume with a Drive letter or a directory on another volume. |