摘要: string urlStr = "http://www.itstrike.cn"; //设定要获取的地址HttpWebRequest hwr = (HttpWebRequest)HttpWebRequest.Create(urlStr); //建立HttpWebRequest对象hwr.Timeout = 60000; //定义服务器超时时间WebProxy proxy = new WebProxy(); ... 阅读全文
posted @ 2013-06-10 17:19 zhengrunqiang 阅读(2327) 评论(0) 推荐(0) 编辑