Thursday 2 August 2012

ASP.NET: Detecting Country from IP Address

Hello Guys,
I'm going to share about detecting user's country from IP Address.
See this Link
Or simply we can Download IP Address Database : http://www.hostip.info/dl/index.html and Detect Location by Query.
For e.g:

SELECT * FROM hostip_current IP = '" + Request.ServerVariables("REMOTE_ADDR") + "'


Hope It will help you these methods are also good.. and we can also use WebService for it.

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More