Retrieves the drive names of all logical drives on a device.
An array of type DriveInfo that represents the logical drives on a device.
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.