public static bool IsServicePaused(string serviceName) { return (GetServiceStatus(serviceName) == ServiceStatus.Paused); } #endregion