static void Main(string[] args)
        {
            PolicyServer ps = new PolicyServer();

            ps.Start();
            while (true)
            {
            }
        }
Ejemplo n.º 2
0
 static void Main(string[] args)
 {
     string PolicyFile = (args.Length == 0) ? "PolicyFile.xml" : args[0];
     if (args.Length == 0)
     {
         Console.WriteLine("No policy file specified; using PolicyFile.xml");
     }
     PolicyServer ps = new PolicyServer(PolicyFile);
     System.Threading.Thread.Sleep(System.Threading.Timeout.Infinite);
 }
Ejemplo n.º 3
0
        public MainWindow()
        {
            InitializeComponent();

            logListBox.Margin = new Thickness(10);
            MainGrid.Children.Add(logListBox);

            // start policy server
            var ps = new PolicyServer("clientaccesspolicy.xml", _logListBox);

            // start server
            StartServer();
        }
Ejemplo n.º 4
0
Archivo: Program.cs Proyecto: GMZ/mdcm
 static void Main(string[] args)
 {
     PolicyServer ps = new PolicyServer();
     ps.Start();
     while (true) { }
 }