Author: tdb | Posted on: 5/4/2009 10:05:36 PM | Views : 247

I m using VS2005 & SQL2005.

I hv made a website, I want to know the country where my website is opened??Based on the country name, i want to show some extra feature else not.

I hv used the following code to know hopst name,and its ip address.wen i put it on my domain,it gives server name and its ip.
string strHostName = System.Net.Dns.GetHostName();string clientIPAddress = System.Net.Dns.GetHostAddresses(strHostName).GetValue(0).ToString();
lblIP.Text = strHostName;

lblIP.Text += Go to the complete details ...