Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET WMI
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 8-Feb-13 1:52am

1 solution

Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 428
1 Maciej Los 249
2 BillWoodruff 199
3 /\jmot 180
4 Suraj Sahoo | Coding Passion 150
0 OriginalGriff 8,484
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,159
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2014
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