asp.net获取网页客户端IP地址
摘要:
第一种:Request.UserHostAddress; //获取IP第二种:HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];第三种是获取部署地址的IP: string strHostName = System.Net.Dns.... 阅读全文
posted @ 2015-01-05 17:12 荧明 阅读(300) 评论(0) 推荐(0) 编辑