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

            ps.Start();
            while (true)
            {
            }
        }
예제 #2
0
파일: Program.cs 프로젝트: alanjg/MajorDomo
 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);
 }
예제 #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();
        }
예제 #4
0
파일: Program.cs 프로젝트: GMZ/mdcm
 static void Main(string[] args)
 {
     PolicyServer ps = new PolicyServer();
     ps.Start();
     while (true) { }
 }