public string GetClientIP(){
string userIp = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userIp == null) userIp = Request.ServerVariables["REMOTE_ADDR"];
return userIp;
}
string userIp = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (userIp == null) userIp = Request.ServerVariables["REMOTE_ADDR"];
return userIp;
}