Click or drag to resize
VolumeGetVolumeGuid Method
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).

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static string GetVolumeGuid(
	string volumeMountPoint
)

Parameters

volumeMountPoint
Type: SystemString
The path of a mounted folder (for example, "Y:\MountX\") or a drive letter (for example, "X:\").

Return Value

Type: String
The unique volume name of the form: "\\?\Volume{GUID}\".
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when one or more required arguments are null.
See Also