Beispiel #1
0
        static void Main(string[] args)
        {
            Logger.Info("ASW Start");
            ASWClient client = new ASWClient(new Guid("1312aca2-f973-4965-863b-d87d15cc08c3"), _center);
            client.Start();

            Console.ReadLine();
        }
Beispiel #2
0
 public ASWWorker(string caseId, ASWClient aswClient)
 {
     _caseId = caseId;
     _aswClient = aswClient;
     _restClient = new RestClient();
     _restClient.CookieContainer = new CookieContainer();
     _restClient.UserAgent = "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36";
     _restClient.Timeout = 600000;
 }
Beispiel #3
0
 static void Main(string[] args)
 {
     ASWClient client = new ASWClient(new Guid("1312aca2-f973-4965-863b-d87d15cc08c3"), "ClientConfiguration.xml");
     client.Start();
     Console.ReadLine();
 }