Click here to Skip to main content
12,897,444 members (52,097 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
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 20-Feb-13 4:43am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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:[^] 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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

yeah but i am looking for handle it by using c# code or by using java script...
If any one knows please solve this.
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)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 20 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100