Click here to Skip to main content
15,881,719 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
am having an application in which i am storing
user ip address. But now i want to store the City,
Country and Country Code of the user on the
basis of their ip addresses. So I am able to get the
user's IP Address in ASP.NET but how to get
other details. If its possible (which i don't thin it is) then tell me else tell me some alternate way to
do this, is there any online FREE service using
which ican get these details
Posted

You can get some information (which purports to be the location) by using one of the many IP address location services out there (google can find a few for you, but here is one to start with: http://www.ipaddresslocation.org/[^] but be aware that it may not be at all accurate - it depends on the ISP and since most of these use dynamic address allocation if the block associated with that physical area is used up, one will be allocated from a different address block. I have seen mine come up with England, Germany, Holland and so forth in the past, all with the same ISP.
 
Share this answer
 
yeah but i am looking for handle it by using c# code or by using java script...
If any one knows please solve this.
 
Share this answer
 
Comments
Surendra0x2 20-Feb-13 11:49am    
Use have a question or comments widget to comment :| u posted comment in solution .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900