站长苏飞 发表于 2014-4-2 20:32
只要是带上Cookie肯定不会的,思路是样的,访问登录页面获取Cookie带上Cookie去获取验证码,然后带Cookei和 ...
/// <summary>
List<ChkImgData> ChkImgList = new List<ChkImgData>();
/// 验证码数据类型
/// </summary>
class ChkImgData
{
/// <summary>
/// 验证码的Cookie
/// </summary>
internal string ShopCookie
{
get;
set;
}
/// <summary>
/// 识别出来的验证码
/// </summary>
internal string ChkStr
{
get;
set;
}
/// <summary>
/// 提交验证码是别的ID,用于识别错误后报错
/// </summary>
internal int m_codeID
{
get;
set;
}
}
欢迎光临 苏飞论坛 (http://www.sufeinet.com/) | Powered by Discuz! X3.4 |