Esempio n. 1
0
        private void Init()
        {
            KeepAlive = true;
            AllowAutoRedirect = true;
            EnableEncodingContent = true;
            EnableAdditionalHeaders = true;

            Address = new Uri("/", UriKind.Relative);

            _response = new HttpResponse(this);
        }
Esempio n. 2
0
 public override void SendCaptha(string captchaText)
 {
     request.AddUrlParam("key", HttpHelper.UrlEncode(key_captcha));
     request.AddUrlParam("retpath", HttpHelper.UrlEncode(return_path_captcha));
     request.AddUrlParam("rep", HttpHelper.UrlEncode(captchaText));
     response = request.Get(urlCheckCaptcha);
     content = response.ToString();
 }