VolumeGetUniqueVolumeNameForPath Method |
[AlphaFS] Get the unique volume name for the given path.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static string GetUniqueVolumeNameForPath(
string volumePathName
)
Public Shared Function GetUniqueVolumeNameForPath (
volumePathName As String
) As String
public:
static String^ GetUniqueVolumeNameForPath(
String^ volumePathName
)
static member GetUniqueVolumeNameForPath :
volumePathName : string -> string
Parameters
- volumePathName
- Type: SystemString
A path string. Both absolute and relative file and directory names, for example "..", is acceptable in this path. If you specify a
relative file or directory name without a volume qualifier, GetUniqueVolumeNameForPath returns the Drive letter of the current
volume.
Return Value
Type:
StringReturns the unique volume name in the form: "\\?\Volume{GUID}\",
or on error or if unavailable.
Exceptions See Also