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
)
Public Shared Function GetVolumeGuid (
volumeMountPoint As String
) As String
public:
static String^ GetVolumeGuid(
String^ volumeMountPoint
)
static member GetVolumeGuid :
volumeMountPoint : string -> string
Parameters
- volumeMountPoint
- Type: SystemString
The path of a mounted folder (for example, "Y:\MountX\") or a drive letter (for example, "X:\").
Return Value
Type:
StringThe unique volume name of the form: "\\?\Volume{GUID}\".
Exceptions See Also