October 5th, 2009, 07:52 AM
Resolve location of Client machine
I am working on a website and trying to create a web page which will resolve the location(i.e City and Country where the request is coming) of IP same as we resolve for IP Address.Please help me with sample code.
Working on ASP.NET VisualStudio2005.
October 5th, 2009, 09:34 AM
Re: Resolve location of Client machine
Country and city cannot be retrieved via asp.net code directly. You will need to do a look up via IP address.
A 3th party database containing all IP addresses en their location can be found on http://www.maxmind.com/
Here you can find several types of databases, including a free one to test (which is less accurate then the one you need to pay for).
Probably there will be more companies that provide this, but this is the only one I know.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!