Dave,
There is seldom in Net a best choose, take what is the best for you.
If you have version 2005 than you can use as well
http://msdn2.microsoft.com/en-us/lib...4x(VS.80).aspx
Most of us do using an Shared Class/Object not call best, that is not a
reason that you would not use it, however. The reasons are than mostly
theoretical
I hope this helps,
Cor
"Devlei" <de****@eastcape.net> schreef in bericht
news:11**********************@z34g2000cwc.googlegr oups.com...
What is the best way to obtain the Total Disk Size of the Local C
Drive?
I am currently using the ManagementObject class such as :
Dim disk As New ManagementObject("Win32_LogicalDisk.DeviceID=""C:" "")
I am however not sure that this is the best way.
With thanks
Dave