VolumeGetVolumeDeviceName Method |
Retrieves the Win32 Device name from the Volume name.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string GetVolumeDeviceName(
string volumeName
)
Public Shared Function GetVolumeDeviceName (
volumeName As String
) As String
public:
static String^ GetVolumeDeviceName(
String^ volumeName
)
static member GetVolumeDeviceName :
volumeName : string -> string
Parameters
- volumeName
- Type: SystemString
Name of the Volume.
Return Value
Type:
String
The Win32 Device name from the Volume name (for example: "\Device\HarddiskVolume2"), or
on error or if
unavailable.
Exceptions See Also