Click here to Skip to main content
15,890,946 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
As a fairly new .net developer I am looking for some help with WMI in VB.net 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,

Dave
Posted

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900