Provides access to information on the specified drive.
- driveName (String)
[Missing <param name="driveName"/> documentation for "M:InTheHand.IO.DriveInfo.#ctor(System.String)"]
Use this class to obtain information on drives.
The drive name must be a valid Windows CE volume path e.g. "\Storage Card".
You cannot use this method to obtain information on drive names that are a null reference (Nothing in Visual Basic) or use UNC (\\server\share) paths.
| Exception | Condition |
|---|---|
| ArgumentNullException | The drive name cannot be a null reference (Nothing in Visual Basic). |
| ArgumentException | driveName does not refer to a valid drive. |