DirectoryEnumerateLogicalDrives Method (Boolean, Boolean) |
[AlphaFS] Enumerates the drive names of all logical drives on the Computer.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static IEnumerable<DriveInfo> EnumerateLogicalDrives(
bool fromEnvironment,
bool isReady
)
Public Shared Function EnumerateLogicalDrives (
fromEnvironment As Boolean,
isReady As Boolean
) As IEnumerable(Of DriveInfo)
public:
static IEnumerable<DriveInfo^>^ EnumerateLogicalDrives(
bool fromEnvironment,
bool isReady
)
static member EnumerateLogicalDrives :
fromEnvironment : bool *
isReady : bool -> IEnumerable<DriveInfo>
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:
IEnumerableDriveInfoAn IEnumerable of type
DriveInfo that represents the logical drives on the Computer.
See Also