private void Init() { KeepAlive = true; AllowAutoRedirect = true; EnableEncodingContent = true; EnableAdditionalHeaders = true; Address = new Uri("/", UriKind.Relative); _response = new HttpResponse(this); }
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(); }