VolumeGetVolumeGuidForNtDeviceName Method |
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".
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string GetVolumeGuidForNtDeviceName(
string dosDevice
)
Public Shared Function GetVolumeGuidForNtDeviceName (
dosDevice As String
) As String
public:
static String^ GetVolumeGuidForNtDeviceName(
String^ dosDevice
)
static member GetVolumeGuidForNtDeviceName :
dosDevice : string -> string
Parameters
- dosDevice
- Type: SystemString
A DosDevicePath, for example: \Device\HarddiskVolumeX\path\filename.ext.
Return Value
Type:
StringA translated dos path.
See Also