I am working in ASP.net and C# . Currently i am designing a signup page for my web application. On that page there is a field “Country”, user can specify his country using drop-down list. Now i want to automatically detect user’s country and then pre select that country in drop-down list. How do i identify user country.
Share
You need some kind of IP geolocation database to map the users IP address to a country. There are plenty of services and data files online, just google for geo IP lookup.
EDIT just did a quick google for you this should give you the data you need.