Jackett.Services.ServiceConfigService.ServiceRunning C# (CSharp) Method

ServiceRunning() public method

public ServiceRunning ( ) : bool
return bool
        public bool ServiceRunning()
        {
            var service = GetService(NAME);
            if (service == null)
                return false;
            return service.Status == ServiceControllerStatus.Running;
        }