public void Load(string fileName) { if (!System.IO.File.Exists(fileName)) throw new System.IO.FileNotFoundException(Properties.Resources.ERROR_LOADING_TEMPLATE_POLICY, fileName); var ps = new PolicySuites(); m_policySetItem = ps.LoadPolicySet("localhost", fileName); }
public void LoadRuntimePolicy(string Name) { var ps = new PolicySuites(true); m_policySetItem = ps.LoadPolicySet("localhost", Name); }