采用Page.Request.UserHostName获取不到主机名,只能得到IP,看看请求Head,是没有找到主机名。所以这样了……

System.Net.Dns.GetHostByAddress(Page.Request.UserAddress).HostName

好似只能在局域网中使用

相关文章:

  • 2021-11-24
  • 2022-12-23
  • 2021-11-30
  • 2021-12-25
  • 2021-11-18
  • 2021-12-28
猜你喜欢
  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案