[C#] 纯文本查看 复制代码 HttpHelper http = new HttpHelper();
HttpItem item = new HttpItem()
{
URL = "http://aq.qq.com/cn2/login_limit/login_limit_index",
Method = "get",
};
HttpResult result = http.GetHtml(item);
item = new HttpItem()
{
URL = "http://captcha.qq.com/getimage?aid=2001601&0.5456446464941136",
Encoding = null,
Method = "get",
ResultType = ResultType.Byte,
Cookie = result.Cookie,
};
result = http.GetHtml(item);
pictureBox1.Image = byteArrayToImage(result.ResultByte);
detailCollectedEvent.WaitOne();
item = new HttpItem()
{
URL = "http://aq.qq.com/cn2/ajax/check_verifycode?verify_code=" + textBox_code.Text + "&account=" + textBox_num.Text + "&session_type=on_rand",
Method = "get",
Encoding = Encoding.UTF8,
Cookie = result.Cookie,
};
这个cookie使用的对吗
|