Click here to Skip to main content
13,556,249 members
Rate this:
Please Sign up or sign in to vote.
See more:
As a fairly new .net developer I am looking for some help with WMI in on the .net 4.0 framework.

I will start with an overview of what I am trying to achieve. I have several windows services that I have written and I want to expose the work these services are doing to a management application for the operators to see what work is currently being done or whether the service is currently idle.

After some googling I came across the concept of WMI which seemed to cater for what I was trying to achieve perfectly.

I think I have got my head round coding the things I want to expose from the windows service. What I am having trouble with is how I can fire an event of some sort that the management application can see to let it know that something has changed and update its UI with the information.

After a lot more googling I am getting a bit stuck and hence the question.

I would be happy to know if there are better alternatives to WMI that I should be using.

I hope this is enough information to enable someone to point me in the right direction.

Thanks in advance,

Posted 8-Feb-13 0:52am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Well, it's a bit old, but you can start by reading this[^]. The System.Management namespace hasn't changed much at all since .NET 2.0, so everything still applies.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01-2016 | 2.8.180515.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100