Click or drag to resize

DirectoryGetLogicalDrives Method (Boolean, Boolean)

[AlphaFS] Retrieves the names of the logical drives on this computer in the form "<drive letter>:\".

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
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 a computer.
See Also