Пример #1
0
        private bool ConfigApplier()
        {
            BeSafeConfig configiguration = ConfigLoader.Instance().LoadConfig();

            if (configiguration != null)
            {
                ServiceUtils.SystemHiddenDirectory(configiguration.SecureVolumePath);
                ComponentRegulator.ManageComponentsState(configiguration, pipeServer, false);
                return(true);
            }

            return(false);
        }
Пример #2
0
 protected override void OnStop()
 {
     pipeServer.Stop();
     ComponentRegulator.ManageComponentsState(null, null, true);
 }