string ipAddress = Request.ServerVariables ["REMOTE_ADDR"];string ipAddress2 = Request.UserHostAddress;