Disk Size of Local C Drive

  • Thread starter Thread starter Devlei
  • Start date Start date
D

Devlei

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
 
Back
Top