09 2010 档案
ASP.NET获取IP的方法
摘要://方法一HttpContext.Current.Request.UserHostAddress; //方法二HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];//方法三 (局域网)string strHostName = System.Net.Dns.GetHostName();string clientIPAddress = ...
阅读全文