使用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");
时间: 2024-10-14 05:02:09
使用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");