C# 下载

string url  URL地址

string path 保存到硬盘的具体路径

WebClient webClient = new WebClient();
webClient .DownloadFile(new Uri(url), path);

posted @ 2015-06-07 18:00  lan  阅读(179)  评论(0编辑  收藏  举报