Click or drag to resize
VolumeDeleteDosDevice Method (String, String, Boolean)
Deletes an MS-DOS device name.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static void DeleteDosDevice(
	string deviceName,
	string targetPath,
	bool exactMatch
)

Parameters

deviceName
Type: SystemString
An MS-DOS device name string specifying the device to delete.
targetPath
Type: SystemString
A pointer to a path string that will implement this device. The string is an MS-DOS path string unless the RawTargetPath flag is specified, in which case this string is a path string.
exactMatch
Type: SystemBoolean
Only delete MS-DOS device on an exact name match. If exactMatch is , targetPath must be the same path used to create the mapping.
See Also