Click or drag to resize

VolumeGetDriveType Method

Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static DriveType GetDriveType(
	string drivePath
)

Parameters

drivePath
Type: SystemString
A path to a drive. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\"

Return Value

Type: DriveType
A DriveType object.
See Also