Hey all,

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

Thanks in advance

Recommended Answers

All 4 Replies

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.