Click or drag to resize

Volume Class

[AlphaFS] Static class providing utility methods for working with Microsoft Windows devices and volumes.
Inheritance Hierarchy
SystemObject
  Alphaleonis.Win32.FilesystemVolume

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static class Volume

The Volume type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDefineDosDevice(String, String)
[AlphaFS] Defines, redefines, or deletes MS-DOS device names.
Public methodStatic memberDefineDosDevice(String, String, DosDeviceAttributes)
[AlphaFS] Defines, redefines, or deletes MS-DOS device names.
Public methodStatic memberDeleteCurrentVolumeLabel
[AlphaFS] Deletes the label of the file system volume that is the root of the current directory.
Public methodStatic memberDeleteDosDevice(String)
[AlphaFS] Deletes an MS-DOS device name.
Public methodStatic memberDeleteDosDevice(String, String)
[AlphaFS] Deletes an MS-DOS device name.
Public methodStatic memberDeleteDosDevice(String, String, Boolean)
[AlphaFS] Deletes an MS-DOS device name.
Public methodStatic memberDeleteDosDevice(String, String, DosDeviceAttributes, Boolean)
[AlphaFS] Deletes an MS-DOS device name.
Public methodStatic memberDeleteVolumeLabel
[AlphaFS] Deletes the label of a file system volume.
Public methodStatic memberDeleteVolumeMountPoint
[AlphaFS] Deletes a Drive letter or mounted folder.
Public methodStatic memberEnumerateVolumeMountPoints
[AlphaFS] Returns an enumerable collection of String of all mounted folders (volume mount points) on the specified volume.
Public methodStatic memberEnumerateVolumePathNames
[AlphaFS] Returns an enumerable collection of String drive letters and mounted folder paths for the specified volume.
Public methodStatic memberEnumerateVolumes
[AlphaFS] Returns an enumerable collection of String volumes on the computer.
Public methodStatic memberGetCurrentDriveType
[AlphaFS] Determines the disk DriveType, based on the root of the current directory.
Public methodStatic memberGetDiskFreeSpace(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.
Public methodStatic memberGetDiskFreeSpace(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.
Public methodStatic memberGetDriveFormat
[AlphaFS] Gets the name of the file system, such as NTFS or FAT32.
Public methodStatic memberGetDriveNameForNtDeviceName
[AlphaFS] Gets the drive letter from an MS-DOS device name. For example: "\Device\HarddiskVolume2" returns "C:\".
Public methodStatic memberGetDriveType
[AlphaFS] Determines the disk DriveType.
Public methodStatic memberGetUniqueVolumeNameForPath
[AlphaFS] Get the unique volume name for the given path.
Public methodStatic memberGetVolumeDeviceName
[AlphaFS] Retrieves the Win32 Device name from the Volume name.
Public methodStatic memberGetVolumeDisplayName
[AlphaFS] Gets the shortest display name for the specified volumeName.
Public methodStatic memberGetVolumeGuid
[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).
Public methodStatic memberGetVolumeGuidForNtDeviceName
[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".
Public methodStatic memberGetVolumeInfo(SafeFileHandle)
[AlphaFS] Retrieves information about the file system and volume associated with the specified root file or directorystream.
Public methodStatic memberGetVolumeInfo(String)
[AlphaFS] Retrieves information about the file system and volume associated with the specified root file or directorystream.
Public methodStatic memberGetVolumeLabel
[AlphaFS] Retrieve the label of a file system volume.
Public methodStatic memberGetVolumePathName
[AlphaFS] Retrieves the volume mount point where the specified path is mounted.
Public methodStatic memberIsReady
[AlphaFS] Gets a value indicating whether a drive is ready.
Public methodStatic memberIsSameVolume
[AlphaFS] Determines whether the volume of two file system objects is the same, by comparing their serial numbers.
Public methodStatic memberIsVolume
[AlphaFS] Determines whether the specified volume name is a defined volume on the current computer.
Public methodStatic memberQueryAllDosDevices
[AlphaFS] Retrieves a sorted list of all existing MS-DOS device names.
Public methodStatic memberQueryDosDevice
[AlphaFS] Retrieves the current mapping for a particular MS-DOS device name.
Public methodStatic memberSetCurrentVolumeLabel
[AlphaFS] Sets the label of the file system volume that is the root of the current directory.
Public methodStatic memberSetVolumeLabel
[AlphaFS] Sets the label of a file system volume.
Public methodStatic memberSetVolumeMountPoint
[AlphaFS] Associates a volume with a Drive letter or a directory on another volume.
Top
See Also