Click or drag to resize

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
)

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: String
An array of type String that represents the logical drives on the Computer.
See Also