摘要:
.net获取 网站的虚拟目录 名字Request.ApplicationPath.TrimStart('/')增加命名空间:using System.Net;using System.IO;/// <summary> /// 下载文件 /// </summary> /// <param name="URL">要下载文件网址</param> public void downloadfile(string URL) { WebClient client=new WebClient(); int n = URL.La 阅读全文