How do i get the User`s Location (Country) in Asp.Net MVC from Request?
Asked
Active
Viewed 1,930 times
-1
-
Have you got a Country property in your model? Do you want to determine it based on the user agent? Do you want an IP lookup? What have you tried, where are you stuck? – CodeCaster Jul 30 '12 at 12:38
-
Possible duplication of http://stackoverflow.com/questions/1409108/how-to-get-visitor-location-country-state-and-city-using-asp-net – SidAhmed Jul 30 '12 at 12:39
2 Answers
1
You may try to do a lookup by IP. But it's not 100% guaranteed result.

Sergei Rogovtcev
- 5,804
- 2
- 22
- 35