May 2010
Intermediate to advanced
1272 pages
61h 18m
English
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:

Read now
Unlock full access