How to get a user’s client IP address in ASP.NET?
Often you will want to know the IP address of someone visiting your website. While ASP.NET has several ways to do this one of the best ways we’ve seen is by using the “HTTP_X_FORWARDED_FOR” of the ServerVariables collection. Here’s why… Sometimes your visitors are behind either a proxy server or a router and the standard … Read more