Website To Country Tool
What is this good for? Maybe you want to know where your servers are physically located
with your hosting company. Also, some search engines (such as Google) have the ability to
filter search results based on their physical location. This could be used to determine why
your site is showing in a certain country.
Update: Scott Galloway mentioned another code in C#
There's a great C# version of this very thing at the CodeProject (http://www.codeproject.com/csharp/iptocountry.asp)
Thanks Scott !