In The Hand LtdIn The Hand
GetDrives Method
NamespacesInTheHand.IODriveInfoGetDrives()()()()
.NET Components for Mobility
Retrieves the drive names of all logical drives on a device.
Declaration Syntax
C#Visual Basic
public static DriveInfo[] GetDrives()
Public Shared Function GetDrives As DriveInfo()
Return Value
An array of type DriveInfo that represents the logical drives on a device.
Remarks
This method retrieves all logical drive names on a computer. You can use this information to iterate through the array and obtain information on the drives using other DriveInfo methods and properties.

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0