Esempio n. 1
0
 static void Main(string[] args)
 {
     if (args.Length == 2)
     {
         // Start our Policy Service
         using (PolicyServer server = new PolicyServer(args[0], args[1]))
         {
             server.Start();
         }
     }
     else
     {
         Console.WriteLine("Usage: PolicyServer <ip-address> <policy-file>");
     }
 }
Esempio n. 2
0
 static void Main(string[] args)
 {
     if(args.Length == 2)
     {
         // Start our Policy Service
         using (PolicyServer server = new PolicyServer(args[0], args[1]))
         {
             server.Start();
         }
     }
     else
     {
         Console.WriteLine("Usage: PolicyServer <ip-address> <policy-file>");
     }
 }