private bool ConfigApplier() { BeSafeConfig configiguration = ConfigLoader.Instance().LoadConfig(); if (configiguration != null) { ServiceUtils.SystemHiddenDirectory(configiguration.SecureVolumePath); ComponentRegulator.ManageComponentsState(configiguration, pipeServer, false); return(true); } return(false); }
protected override void OnStop() { pipeServer.Stop(); ComponentRegulator.ManageComponentsState(null, null, true); }