string ss = base.HttpContext.Request.RawUrl;//获取当前项目路径
string cc= Server.MapPath("DDTek.lic");//获取绝对路径,参数文件名称
//HttpContext.Server请求对象非静态
//HttpContext httpcontext = System.Web.HttpContext.Current;
HttpContext httpcontext = HttpContext.Current;
string LicensePath = httpcontext.Server.MapPath("DDTek.lic");//获取绝对路径,参数文件名称
时间: 2024-11-06 05:42:44