Hello, I have a very quick question about Win32_Service
Is
String sState = service["State"].ToString();
if (! sState.Equals("Running"))
Sufficent to moniter if a service is not running? I want the if statement to return true in all cases where the service isn't running so it can send a warning message.