how to Retrive Country and other info from IP address using asp

  • Thread starter Thread starter amgu
  • Start date Start date
A

amgu

Hello

I am looking for a asp.net code so that we can incorporate the code which
can help us to retrive the country and other infromation through IP address
of the visitor for the website.

amgu
 
amgu said:
Hello

I am looking for a asp.net code so that we can incorporate the code which
can help us to retrive the country and other infromation through IP
address
of the visitor for the website.

Are you aware that the most you could do is to determine the authority that
issued the IP address? This may or may not be adequate for your needs. For
instance, if you checked my work IP address, you would find that I'm located
in Chicago, IL, US. But I'm actually in Boston, MA, US.

My understanding is that there are various companies that offer information
on the issuer of IP address blocks, but that this information cannot be
determined via code.
 
That is not possible via code unless you have a lookup database to verify IP
addresses against. Even then your results cannot be that accurate. You can
probably buy the lookup data from a third party or you can also use a third
party software that processes your web logs and provide you with the reports
you need.

You may also use a third party webservice to get the information. This I
know is available through http://www.dnsstuff.com

Good luck.
 
Back
Top