public static bool Check()
 {
     try
     {
         var service = new StartupService(Key);
         return(service.Check());
     }
     catch (Exception e)
     {
         Logging.LogUsefulException(e);
         return(false);
     }
 }
Пример #2
0
 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);
     }
 }