Here Mudassar Ahmed Khan has explained with an example, how to get Client IP Address and Location in ASP.Net using C# and VB.Net.
First the IP Address of the Visitor will be determined and then using the IP Address and the IPInfoDB IP to Location API, the Client Geographic location details like Country, City, Region, Zip Code, Latitude, Longitude and Time zone will be determined in ASP.Net using C# and VB.Net.
↧