I want to implement this in ASP.NET. I don't have any idea about how to do so, unfortunately.
Here how it is done in asp.net
Request.ServerVariables("REMOTE_ADDR")
Get a copy of IP adress database by location here
http://www.maxmind.com/
2.1m questions
2.1m answers
60 comments
57.0k users