473,403 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

.NET Framework Drive Object

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
2 1143
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework...
19
by: Kamilche | last post by:
I have looked at many object-oriented programming frameworks out there for C. Though the ideas presented are intriguing, and I've used some of them in my own work, they all suffered some drawback...
2
by: Someone Please Help! | last post by:
I had Visual Studio .NET installed on my system for a while and then decided I would install a second copy of Windows 2000 on my second drive and use it strictly for developing Visual Basic apps....
2
by: Russ | last post by:
I set up a web server machine using Windows 2003 server, Web Edition. Every time I try to do anything with it I get an error message that says that "the specified Wew server is not running ASP.NET...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
8
by: Dennis | last post by:
I have two computers both running Windows XP Professional. The computer on which I have Vs.Net 2003 has Framework 1.1 installed which is listed as 1.050.00mb. On the other computer, Framework 1.1...
2
by: DBLWizard | last post by:
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...
8
by: mike2036 | last post by:
I have an application (that has unmanaged code) and when I launch it without 'FullTrust' permissions (LocalIntranet_Zone), it crashes. When I set 'FullTrust' permissions, it launches fine. Is...
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.