.NET Framework Drive Object

  • Thread starter Thread starter DBLWizard
  • Start date Start date
D

DBLWizard

Howdy All,

I have been looking and am amazed that there is not an equivilent
object as the WSH or FSO in .net. To be able to get Drive information
you either have to use COM on one of the two afore mentioned objects.

Or use the WSI queries which are not the most user friendly. Granted
they contain a ton of information but I have to write my own English
translation function if I want "Drive Types" in words.

All of the postings I can find on this are dated pre 2003. Have there
been any updates and I am just missing them or are these the only
options?

Thanks

dbl
 
What are you trying to do? System.IO.Directory and
Environment.GetLogicalDrives should be anough for most purposes.
 
I am wanting to get Drive Type, Volumn Information, if removable drive
has media in it, the Capacity, and available Free space.

And I don't see any Framework object that will do that. Yes I realize
that I could write my own class that uses the WMI but as I said it just
surprises me that this type of object was not included in the Framework.

Thanks

dbl
 
Back
Top