| 这个是Http协议版本的问题,直接用Httphelper万能框架可实现 
 
 [C#] 纯文本查看 复制代码             HttpHelper http = new HttpHelper();
            HttpItem item = new HttpItem()
            {
                URL = "http://fanxing.kugou.com/Services.php?act=UserService.UserService&mtd=login",//URL     必需项    
                Method = "post",//URL     可选项 默认为Get   
                Cookie = "GameLastLogin=487259631",//字符串Cookie     可选项   
                Referer = "http://fanxing.kugou.com/index.php?action=msgBox",//来源URL     可选项   
                Postdata = "args=[\"sufei\",\"123456\",\"\" ,\"0\"]&test=",//Post数据     可选项GET时不需要写   
                UserAgent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",//用户的浏览器类型,版本,操作系统     可选项有默认值   
                ContentType = "application/x-www-form-urlencoded",//返回类型    可选项有默认值   
            };
            item.ProtocolVersion = HttpVersion.Version10;
            HttpResult result = http.GetHtml(item);
            string html = result.Html;
            string cookie = result.Cookie;
 账户密码我乱写的,改成自己的就行了
 
 |