how to get current visiting country in kentico mvc?

Muhammad Kaleem asked on April 5, 2019 19:06

i want to ask is there any api in kentico to get current visiting country in kentico mvc, i want to show contents with respect to country, if anyone knows about please sugest... thanks

Recent Answers


Michal Samuhel answered on April 5, 2019 22:21

There is no direct reference or connection to geolocation service from within Kentico libraries distributed for MVC applications. You could create a service on administration side wrapping geolocation API and reach out to this service from MVC app via a request, but in my opinion this would be an overkill and with current state of geolocation DB on administration side I would recommend using geolocation API coming with HTML 5

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.