摘要: 1.net 获取客户端ip方法(此方法不是很准确)public static string GetIP() { string str; if (!string.IsNullOrEmpty(HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"])) { str = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString(); ... 阅读全文
posted @ 2014-01-16 11:22 sulin 阅读(253) 评论(0) 推荐(0)