Пример #1
0
 public static HttpWebResponse GetResponseFromServer(string path)
 {
     GetWorker target = new GetWorker(path);
     target.DoWork();
     return target.GetResponse();
 }
Пример #2
0
        private static bool ExecuteGetWorker(string url)
        {
            GetWorker target = new GetWorker(url);
            target.DoWork();
            _responseData = target.GetResponseData();

            return target.WasHTTPS;
        }