Global.cs 获取网址

void Application_Start(object sender, EventArgs e)
        {
                     string url = HttpContext.Current.Request.ServerVariables["Http_Host"].ToString();
        }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-07
  • 2021-09-25
  • 2021-09-17
  • 2021-11-28
  • 2021-12-31
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案