Sign in to follow this  

[.net] Framework 1.1 complete?

This topic is 4845 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Take this question lightly, as it has probably been added in 2.0, but I don't think that you can, for example, get drive free space etc (although you can enumerate them) or memory usage for the computer.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You could also use WMI to acheive this through .NET System.Management namespace

Share this post


Link to post
Share on other sites
Quote:
Original post by Washu
You can. They are called performance counters.

Ah, yes. I thought I saw something on them somewhere, but nothing came up when I searched.
Thanks!

Share this post


Link to post
Share on other sites
Quote:
Original post by Washu
System.Management is a namespace. So, what exactly are you asking? Oh, and the ManagementQuery class sounds like something you could look into...

Yes, that is what I mean (or maybe it was ManagementQuerySearch).
Anyway, in the constructor it took a string. In the example it had ("<something...> __win32logicaldrives") or something like that, I cannot remember. In the help it didn't appear to have a list of query string or syntax.

Share this post


Link to post
Share on other sites
Quote:
Original post by DrGUI
Quote:
Original post by Washu
System.Management is a namespace. So, what exactly are you asking? Oh, and the ManagementQuery class sounds like something you could look into...

Yes, that is what I mean (or maybe it was ManagementQuerySearch).
Anyway, in the constructor it took a string. In the example it had ("<something...> __win32logicaldrives") or something like that, I cannot remember. In the help it didn't appear to have a list of query string or syntax.

See: Monitoring the Event Log Remotely using WMI in .NET

Share this post


Link to post
Share on other sites
Alas, VS C# 2003 does not have the server node or any option to add one. I looked in the help and the item on the tools menu that it said go to was missing.

Why do M$ do this? Why! Why!
(to make you pay lots more for professional version, that's why)

Share this post


Link to post
Share on other sites

This topic is 4845 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this