Accessing Logical Drive properties in .Net

  • Thread starter Thread starter Will Lusted
  • Start date Start date
W

Will Lusted

I 'm trying to write a simple class to access the local machines logical
drives and selected drive properties.

The only method reference I can find is to reference scrun.dll and create a
scripting.filesystemobject, but I find it hard to believe that .Net has to
step outside its own managed object model to deliver such a simple thing.

Am I missing a trick, and if so can anyone point me in the right direction?

TIA
 
Take a look at the System.Management namespace. It'll let you access all those wonderful WMI classes
 
Many thanks Charlie. Just what I was looking for.

Charlie said:
Take a look at the System.Management namespace. It'll let you access all
those wonderful WMI classes
 
Back
Top