|
-
Nov 27th, 2009, 08:45 PM
#2
Re: Need help getting Initial HDDSize
You should check out the DriveInfo class, which is a member of the System.IO namespace. You can create an instance directly by passing a drive letter to the constructor. You can also get a an array of instances for all drives on the system by calling the Shared GetDrives method. You can then loop through that array and use any or all elements. The DriveInfo class has properties for the values you're looking for.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|