public static bool Check() { try { var service = new StartupService(Key); return(service.Check()); } catch (Exception e) { Logging.LogUsefulException(e); return(false); } }
public static bool Check() { try { var path = $@"""{Utils.GetExecutablePath()}"""; var service = new StartupService(Key); return(service.Check(path)); } catch (Exception e) { Logging.LogUsefulException(e); return(false); } }