By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,318 Members | 2,300 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,318 IT Pros & Developers. It's quick & easy.

.NET Framework Drive Object

P: n/a
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

Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
What are you trying to do? System.IO.Directory and
Environment.GetLogicalDrives should be anough for most purposes.

"DBLWizard" <ib*********@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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

Jul 21 '05 #2

P: n/a
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

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.