Click or drag to resize

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
)

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
ExceptionCondition
ArgumentNullException
See Also