首页 > 技术文章 > api获取本地路径

li-guojiang 2021-02-04 11:39 原文

string serverPath = System.Web.Hosting.HostingEnvironment.MapPath(@"~/");

推荐阅读