Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what can you query using the ManagementEventWatcher class

have been playing with the ManagementEventWatcher class and am curious what system events and objects you can select * from ..

Is there a published list somewhere?

like image 397
Grant Avatar asked Feb 13 '10 10:02

Grant


1 Answers

You'll want to download and experiment with the WMI Code Creator utility. The available events are listed under the "Receive an event" tab.

An example in C# is available in this thread.

Formal documentation for the WMI classes and their events starts here.

like image 120
Hans Passant Avatar answered Sep 29 '22 12:09

Hans Passant