02 2014 档案
摘要:/// /// 获取客户端IP地址 /// /// /// public static string GetIpAddr(HttpRequest request) { string ip = request.ServerVariables["HTTP_X_FORWARDED_FOR"]; if (string.IsNullOrEmpty(ip) || "unknown".Equals(ip, StringComparison.CurrentCultureIgnoreCase)) { ip = request.ServerVariables["P
阅读全文