使用WebClient string url = "http://www.mozilla.org/images/feature-back-cnet.png"; WebClient myWebClient = new WebClient(); myWebClient.DownloadFile(url,"C:\\temp\\feature-back-cnet.png");
C#简单文件下载-3行代码
原文:http://www.cnblogs.com/x-poior/p/5719001.html