xtd 0.2.0
Loading...
Searching...
No Matches

◆ drive_info()

xtd::io::drive_info::drive_info ( const xtd::ustring drive_name)
explicit

Provides access to information on the specified drive.

Parameters
drive_nameA valid drive path or drive letter. This can be either uppercase or lowercase, 'a' to 'z'. A null value is not valid.
Exceptions
xtd::argument_exceptiondrive_name does not refer to a valid drive.
Remarks
Use this class to obtain information on drives. The drive name must be either an uppercase or lowercase letter from 'a' to 'z'. You cannot use this method to obtain information on drive names that are null or use UNC (\server\share) paths.