Click or drag to resize

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
)

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
Remarks
This is the same method as QueryDosDevice(String).
See Also