DirectoryGetLogicalDrives Method (Boolean, Boolean) |
[AlphaFS] Retrieves the names of the logical drives on the Computer in the form "C:\".
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
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 the Computer.
See Also