Ejemplo n.º 1
0
		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);
		}
Ejemplo n.º 2
0
 public void LoadRuntimePolicy(string Name)
 {
     var ps = new PolicySuites(true);
     m_policySetItem = ps.LoadPolicySet("localhost", Name);
 }