Esempio n. 1
0
 public static void ManageComponentsState(BeSafeConfig configuration, PipeServer pipeServer, bool stoppingService)
 {
     ProcessRegulator.Instance().Config(configuration, pipeServer, stoppingService);
     ModuleRegulator.Instance().Config(configuration, pipeServer, stoppingService);
     DirectoryRegulator.Instance().Config(configuration, pipeServer, stoppingService);
     RegistryRegulator.Instance().Config(configuration, pipeServer, stoppingService);
     SecureVolumeRegulator.Instance().Config(configuration, pipeServer, stoppingService);
 }
Esempio n. 2
0
 public static ProcessRegulator Instance() => (SingletonInstance ?? (SingletonInstance = new ProcessRegulator()));