Click or drag to resize

VolumeDeleteDosDevice Method (String, String, DosDeviceAttributes, Boolean)

Deletes an MS-DOS device name.

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


Type: SystemString
An MS-DOS device name string specifying the device to delete.
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.
Type: Alphaleonis.Win32.FilesystemDosDeviceAttributes
The controllable aspects of the DefineDosDevice function DosDeviceAttributes flags which will be combined with the default.
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