DirectoryGetLogicalDrives Method (Boolean, Boolean) |
[AlphaFS] Retrieves the names of the logical drives on this computer in the form "<drive letter>:\".
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string[] GetLogicalDrives(
bool fromEnvironment,
bool isReady
)
Public Shared Function GetLogicalDrives (
fromEnvironment As Boolean,
isReady As Boolean
) As String()
public:
static array<String^>^ GetLogicalDrives(
bool fromEnvironment,
bool isReady
)
static member GetLogicalDrives :
fromEnvironment : bool *
isReady : bool -> string[]
Parameters
- fromEnvironment
- Type: SystemBoolean
Retrieve logical drives as known by the Environment. - isReady
- Type: SystemBoolean
Retrieve only when accessible (IsReady) logical drives.
Return Value
Type:
StringAn array of type
String that represents the logical drives on a computer.
See Also