Exemplo n.º 1
0
        public static HttpWebResponse GetResponseFromServer(string path)
        {
            var target = new GetWorker(path);

            target.DoWork();
            return(target.GetResponse());
        }
Exemplo n.º 2
0
        static bool ExecuteGetWorker(string url)
        {
            var target = new GetWorker(url);

            target.DoWork();
            _responseData = target.GetResponseData();

            return(target.WasHTTPS);
        }