This is ASP.NET code that shows how IP2Location Geolocation identify online visitors geographical location by using IP address. The IP2Location Geolocation Web Service returns geographic information such as country, region, city, latitude, longitude, ISP and domain name.