C#获取服务器物理路径(解决方案根目录)

来源:互联网 发布:网络兼职正规赚钱平台 编辑:程序博客网 时间:2024/06/06 08:33

  string RootDir = Server.MapPath(System.Web.HttpContext.Current.Request.ApplicationPath.ToString());//获取程序根目录

原创粉丝点击