Click or drag to resize

VolumeGetDriveNameForNtDeviceName Method

[AlphaFS] Gets the drive letter from an MS-DOS device name. For example: "\Device\HarddiskVolume2" returns "C:\".

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static string GetDriveNameForNtDeviceName(
	string deviceName
)

Parameters

deviceName
Type: SystemString
An MS-DOS device name.

Return Value

Type: String
The drive letter from an MS-DOS device name.
See Also