public static string GetClientExternalIp() HttpContext context = HttpContext.Current; if (!string.IsNullOrEmpty(ipAddress)) string[] addresses = ipAddress.Split(',');
if (a
尼尼姆已经为我注入了这个信息,因为它在MvcModule中设置为在请求new HttpContextWrapper(HttpContext.Current)时返回HttpContextBase当我尝试在Request.UserHostAddress上访问HttpContextBase时,会得到一个Value does notfall within the expected range异常
如果我直接调用<e