Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     

Get Website IP Address in

Some time we may need to find out the Ip address of the given website. we may write this code to find out the ip address of the website.

System.Net.IPAddress[] ip = System.Net.Dns.GetHostAddresses(""); Response.Write(ip[0]);
catch (System.Net.Sockets.SocketException)
Response.Write("No Such Website!");

Helpful Website Url
Share this article   |    Print    |    Article read by 1816 times
Rohit kakria
I am software developer, moderator of
Related Articles:
Related Interview Questions: