string requestURL = System.Web.HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (String.IsNullOrEmpty(requestURL) == true)
{
label1.Text = Request.ServerVariables["REMOTE_ADDR"].ToString();
}
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。