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
)
Public Shared Function GetDriveType (
drivePath As String
) As DriveType
public:
static DriveType GetDriveType(
String^ drivePath
)
static member GetDriveType :
drivePath : string -> DriveType
Parameters
- drivePath
- Type: SystemString
A path to a drive. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\"
Return Value
Type:
DriveTypeA
DriveType object.
See Also