System.IO.DriveInfo
ClassSimilarly to System.IO.DirectoryInfo
, System.IO.DriveInfo
provides access to drives information. Using this class is straightforward; it provides information on the disk type, disk space (free and total), volume label, and other self-explanatory properties that you can discover with IntelliSense. The following example shows how you can create an instance of the class and retrieve information on the specified drive:
3.145.120.1