Ever wanted to monitor the state of Windows Services in a .NET project? This is a problem I recently had to solve and after some experimentation I settled on using WMI to monitor changes.
This approach allows monitoring the start mode, state, process ID, and much more for any Windows