DriveInfoGetDrives Method |
Retrieves the drive names of all logical drives on a computer.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static DriveInfo[] GetDrives()
Public Shared Function GetDrives As DriveInfo()
public:
static array<DriveInfo^>^ GetDrives()
static member GetDrives : unit -> DriveInfo[]
Return Value
Type:
DriveInfoAn array of type
DriveInfo that represents the logical drives on a computer.
See Also