Getting the IP address and host name of a host / webhost using System.Net.
ther reverse can be done very easily too by just exchanging the Dns.GetHostByName(host); for Dns.GetHostByAddress(IP); this will only work if the dns entry has a reverse lookup though.
i want information about code get ip header in c#
Perfect tutorial!!
Why the application close automatically before I see the result??? Thanks for share this tutorial???
"Why the application close automatically before I see the result??? Thanks for share this tutorial???" Because it has finished it's job. Add Console.Readline after "try".
Simple but effective!