Dim ipAddress As String = HttpContext.Current.Request.ServerVariables("HTTP_X_FORWARDED_FOR") If ipAddress Is Nothing Or ipAddress = "" Then ipAddress = HttpContext.Current.Request.ServerVariables("REMOTE_ADDR") End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)