Click or drag to resize
VolumeQueryDosDevice Method
Retrieves information about MS-DOS device names. The function can obtain the current mapping for a particular MS-DOS device name. The function can also obtain a list of all existing MS-DOS device names.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static IEnumerable<string> QueryDosDevice(
	string deviceName,
	params string[] options
)

Parameters

deviceName
Type: SystemString
An MS-DOS device name string, or part of, specifying the target of the query. This parameter can be . In that case, the QueryDosDevice function will store a list of all existing MS-DOS device names into the buffer.
options
Type: SystemString
(Optional, default: ) If options[0] = a sorted list will be returned.

Return Value

Type: IEnumerableString
An IEnumerableT with one or more existing MS-DOS device names.
See Also