摘要:
服务端: //方法一 HttpContext.Current.Request.UserHostAddress; //方法二 HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]; //方法三 string strHostName = System.Net.Dns.GetHostName(); string clientIPAddress = System.Net.Dns.GetHostAddresses(strHostName).GetValue(0).ToString(); //方法四(无视代理) HttpC 阅读全文
posted @ 2012-02-09 11:28
宏宇
阅读(225)
评论(0)
推荐(0)
浙公网安备 33010602011771号