Click here to Skip to main content
11,704,315 members (64,319 online)
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 0: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 Sergey Alexandrovich Kryukov 740
1 OriginalGriff 520
2 Maciej Los 355
3 Andy Lanng 284
4 CPallini 275
0 OriginalGriff 8,824
1 Sergey Alexandrovich Kryukov 8,247
2 CPallini 5,197
3 Maciej Los 4,726
4 Mika Wendelius 3,606


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