Here is a general way to know whether service is running or not
public bool CheckIfServiceIsRunning(string serviceName)
{
ServiceProcess.ServiceController mySC = new ServiceProcess.ServiceController(serviceName);
if (mySC.Status == ServiceProcess.ServiceControllerStatus.Running) {
return true;
}
else {
return false;
}
}