本文介绍了从system.webclient.downloadfile下载文件路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
何时将下载的文件存储在系统上的什么位置 使用System.webclient.download文件吗? 有默认位置吗? 感谢
Hi, Where is the downloaded file stored on the system when System.webclient.downloadfile is used ? Is there any default location ? Thanks
推荐答案好,MSDN说这是WebClient.DownloadFile方法的签名: Well MSDN says that this is the signature of the WebClient.DownloadFile method: public void DownloadFile( string address, string fileName )
MSDN上的示例指出该文件已存储在Application.StartupPath文件夹中.请参阅页面底部的此处: WebClient.DownloadFile [ ^ ]. 最好的问候, 曼弗雷德(Manfred)
The example on MSDN states that the file gets stored in the Application.StartupPath folder. See here on the bottom of the page: WebClient.DownloadFile[^]. Best Regards, Manfred
更多推荐
从system.net.webclient.downloadfile下载文件路径
发布评论