摘要: 1.引用组件 using System.Net; using System.IO;2.下载数据 一:DownloadFileSystem.Net.WebClientwc = new System.Net.WebClient(); client.DownloadFile("http://www.baidu.com/", "E:\\baidu.txt"); 二:DownloadData System.Net.WebClient wc = new System.Net.WebClient(); byte[] bytes = wc.DownloadData(&q 阅读全文
posted @ 2011-12-05 22:48 sulin 阅读(465) 评论(0) 推荐(0)