Hey all,

can any one tell me the c# code to detect country from an IP address.

Thanks in advance

Check This Link it contains a project same as your query

Thanks for the link abellazm the project it contains seems to be very helpful

I have used ip2location before and it works well. We provided websites and we used it to give reporting of where their visitors came from. It wasn't perfect but was pretty good.