public string IPGetir()
{
string IPAdres= string.Empty;
if (HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"] != null)
IPAdres =HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString();
else
if (HttpContext.Current.Request.UserHostAddress.Length!= 0)
IPAdres= HttpContext.Current.Request.UserHostAddress;
return IPAdres;
}