Volume Methods |
The Volume type exposes the following members.
Name | Description | |
---|---|---|
DefineDosDevice(String, String) | [AlphaFS] Defines, redefines, or deletes MS-DOS device names. | |
DefineDosDevice(String, String, DosDeviceAttributes) | [AlphaFS] Defines, redefines, or deletes MS-DOS device names. | |
DeleteCurrentVolumeLabel | [AlphaFS] Deletes the label of the file system volume that is the root of the current directory. | |
DeleteDosDevice(String) | [AlphaFS] Deletes an MS-DOS device name. | |
DeleteDosDevice(String, String) | [AlphaFS] Deletes an MS-DOS device name. | |
DeleteDosDevice(String, String, Boolean) | [AlphaFS] Deletes an MS-DOS device name. | |
DeleteDosDevice(String, String, DosDeviceAttributes, Boolean) | [AlphaFS] Deletes an MS-DOS device name. | |
DeleteVolumeLabel | [AlphaFS] Deletes the label of a file system volume. | |
DeleteVolumeMountPoint | [AlphaFS] Deletes a Drive letter or mounted folder. | |
EnumerateVolumeMountPoints | [AlphaFS] Returns an enumerable collection of String of all mounted folders (volume mount points) on the specified volume. | |
EnumerateVolumePathNames | [AlphaFS] Returns an enumerable collection of String drive letters and mounted folder paths for the specified volume. | |
EnumerateVolumes | [AlphaFS] Returns an enumerable collection of String volumes on the computer. | |
GetCurrentDriveType | [AlphaFS] Determines the disk DriveType, based on the root of the current directory. | |
GetDiskFreeSpace(String) | [AlphaFS]
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) | [AlphaFS]
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 | [AlphaFS] Gets the name of the file system, such as NTFS or FAT32. | |
GetDriveNameForNtDeviceName | [AlphaFS] Gets the drive letter from an MS-DOS device name. For example: "\Device\HarddiskVolume2" returns "C:\". | |
GetDriveType | [AlphaFS] Determines the disk DriveType. | |
GetUniqueVolumeNameForPath | [AlphaFS] Get the unique volume name for the given path. | |
GetVolumeDeviceName | [AlphaFS] Retrieves the Win32 Device name from the Volume name. | |
GetVolumeDisplayName | [AlphaFS] Gets the shortest display name for the specified volumeName. | |
GetVolumeGuid | [AlphaFS]
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 | [AlphaFS]
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) | [AlphaFS] Retrieves information about the file system and volume associated with the specified root file or directorystream. | |
GetVolumeInfo(String) | [AlphaFS] Retrieves information about the file system and volume associated with the specified root file or directorystream. | |
GetVolumeLabel | [AlphaFS] Retrieve the label of a file system volume. | |
GetVolumePathName | [AlphaFS] Retrieves the volume mount point where the specified path is mounted. | |
IsReady | [AlphaFS] Gets a value indicating whether a drive is ready. | |
IsSameVolume | [AlphaFS] Determines whether the volume of two file system objects is the same, by comparing their serial numbers. | |
IsVolume | [AlphaFS] Determines whether the specified volume name is a defined volume on the current computer. | |
QueryAllDosDevices | [AlphaFS] Retrieves a sorted list of all existing MS-DOS device names. | |
QueryDosDevice | [AlphaFS] Retrieves the current mapping for a particular MS-DOS device name. | |
SetCurrentVolumeLabel | [AlphaFS] Sets the label of the file system volume that is the root of the current directory. | |
SetVolumeLabel | [AlphaFS] Sets the label of a file system volume. | |
SetVolumeMountPoint | [AlphaFS] Associates a volume with a Drive letter or a directory on another volume. |