Click or drag to resize

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.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static string GetVolumeGuidForNtDeviceName(
	string dosDevice
)

Parameters

dosDevice
Type: SystemString
A DosDevicePath, for example: \Device\HarddiskVolumeX\path\filename.ext.

Return Value

Type: String
A translated dos path.
See Also