摘要: 搜索网络,发现C#通常有三种方法获取网页内容,使用WebClient、WebBrowser或者HttpWebRequest/HttpWebResponse。。。方法一:使用WebClient (引用自:http://fbljava.blog.163.com/blog/static/265211742008712105145244/)static void Main(string[] args){ try { WebClient MyWebClient = new WebClient(); MyWebClient.Credentials = CredentialCache.DefaultCred 阅读全文
posted @ 2012-07-18 16:49 @张凯@ 阅读(306) 评论(0) 推荐(0) 编辑