如何获取运行asp.net应用程序的IIS框的ip地址?我试过了:
HttpContext.Current.Request.ServerVariables["SERVER_NAME"];
这是可能吗?
这是所有变量:
HttpContext.Current.Request.UserHostAddress; should work
链接1
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
点击生成二维码
我来说两句