Gets a value indicating whether a drive is ready.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static bool IsReady(
string drivePath
)
Public Shared Function IsReady (
drivePath As String
) As Boolean
public:
static bool IsReady(
String^ drivePath
)
static member IsReady :
drivePath : string -> bool
Parameters
- drivePath
- Type: SystemString
A path to a drive. For example: "C:\", "\\server\share", or "\\?\Volume{c0580d5e-2ad6-11dc-9924-806e6f6e6963}\".
Return Value
Type:
Boolean if
drivePath is ready; otherwise,
.
See Also