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(); }
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; }
static void Main(string[] args) { ASWClient client = new ASWClient(new Guid("1312aca2-f973-4965-863b-d87d15cc08c3"), "ClientConfiguration.xml"); client.Start(); Console.ReadLine(); }