摘要:
//方法一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();if(Context.Request.ServerVar 阅读全文
posted @ 2012-11-01 09:33
心电心
阅读(267)
评论(0)
推荐(0)
浙公网安备 33010602011771号