| 
 | 
 
 HttpHelper http = new HttpHelper(); 
            HttpItem item = new HttpItem() 
            { 
                URL = url,//URL     必需项 
                Encoding = null,//编码格式(utf-8,gb2312,gbk)     可选项 默认类会自动识别 
                Method = "get",//URL     可选项 默认为Get 
                Timeout = 100000,//连接超时时间     可选项默认为100000 
                ReadWriteTimeout = 30000,//写入Post数据超时时间     可选项默认为30000 
                IsToLower = false,//得到的HTML代码是否转成小写     可选项默认转小写 
              
                ContentType = "text/html",//返回类型    可选项有默认值 
                Allowautoredirect = true,//是否根据301跳转     可选项 
                Host="www.sufeinet.com", 
                Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8", 
                
                UserAgent = @"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.13022 YaBrowser/13.12.1599.13022 Safari/537.36", 
              //  61.158.219.226:8118 
                ProxyIp = "61.158.219.226:8118", 
                Referer = "http://www.nodevice.com/driver/company/zotac.html", 
                Cookie = "", 
                CookieCollection = new System.Net.CookieCollection(), 
            }; 
 
 
 
这样写的 但是 好像代理没有起作用, 请问 代理怎么设置额? |   
 
 
 
 |