I’ve managed to get my static IP Address and some other mac addresses.
Using this code :
IPAddress[] addr = Dns.GetHostEntry( Dns.GetHostName() ).AddressList;
string dynamicip = addr[addr.Length - 3].ToString();
Any idea how to get the dynamic public address like the one on the site whatismyip.com?
I think this is probably the question that you’re asking: How to get the IP address of the server on which my C# application is running on?