Exemplo n.º 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);
        }
Exemplo n.º 2
0
 protected override void OnStop()
 {
     pipeServer.Stop();
     ComponentRegulator.ManageComponentsState(null, null, true);
 }