1.获取ip地址
http://www.itbobo.com/asp-net-access-to-client-and-server-ip-address.html
HttpContext.Current.Request.ServerVariables.Get("Remote_Addr").ToString();
1.获取ip地址
http://www.itbobo.com/asp-net-access-to-client-and-server-ip-address.html
HttpContext.Current.Request.ServerVariables.Get("Remote_Addr").ToString();
转载于:https://www.cnblogs.com/wuchao/archive/2013/05/23/3094497.html