public static bool IsServerRunning(bool forCurrentUserOnly) { try { return(UserProcess.IsRunning(ProcessName, forCurrentUserOnly)); } catch (Exception exception) { Log.Error(exception); return(false); } }