使用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");

 

posted on 2016-07-29 16:54  王庆东mas  阅读(200)  评论(0编辑  收藏  举报