[C#] 纯文本查看 复制代码private void button1_Click(object sender, EventArgs e)
{
HttpHelper help = new HttpHelper();
HttpItem item = new HttpItem()
{
URL = "http://www.sufeinet.com/member.php?mod=logging&action=login",
Method = "get",
ContentType = "text/html; charset=gbk",
};
HttpResult result = help.GetHtml(item);
string html = result.Html;
string sss1 = "
string sss2 = "\" />";
string formhash = HttpHelper.GetBetweenHtml(html, sss1, sss2);
//string loginHash = HttpHelper.GetBetweenHtml(html, "loginhash=", "\"");
Random r = new Random();
int sx = r.Next(1111111, 5555555);
HttpItem item2 = new HttpItem()
{
URL = "http://www