摘要: public static string GetClientIP() { string result = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]; if (null == result || result == String.Empty) { result = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]; } if (null == result || result == String. 阅读全文
posted @ 2012-07-30 16:55 Jimmyhxd 阅读(86) 评论(0) 推荐(0) 编辑