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

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
 
J

John Saunders [MVP]

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.
 
M

Mohamad Elarabi

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top