C#简单文件下载-3行代码

使用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");
上一篇:【Node.app】Node.js for iOS


下一篇:mongodb导入导出备份恢复