I am creating an application that needs to track when a process starts, then raise an event when it\'s finished.
I have build a .net library that uses the ManagementEventWatcher class.My library is disposable, so normally I would开发者_开发技巧 wrap it in a using statement and the ManagementEventWatcher class wo
have been playing with the ManagementEventWatcher class and am curious what system events and 开发者_高级运维objects you can select * from ..
I am trying to use ManagementEventWatcher in a service to keep track of when a computer goes in and out of sleep mode. I am new to .NET and C# so I am struggling quite a bit to come up with syntax to