摘要:
if(Context.Request.ServerVariables["HTTP_VIA"]!=null)//usingproxy{ip=Context.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString();//ReturnrealclientIP.}else//notusingproxyorcan'tgettheClientIP{ip=Context.Request.ServerVariables["REMOTE_ADDR"].ToString();//Whil 阅读全文