VolumeGetVolumeDeviceName Method |
[AlphaFS] Retrieves the Win32 Device name from the Volume name.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
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:
StringThe Win32 Device name from the Volume name, for example: "\Device\HarddiskVolume2", or
on error or if unavailable.
Exceptions Remarks See Also