从system.net.webclient.downloadfile下载文件路径

编程入门 行业动态 更新时间:2024-10-26 18:22:43
本文介绍了从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下载文件路径

本文发布于:2023-11-05 04:39:55,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1559929.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:路径   文件   net   system   downloadfile

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!