I am running a server, and I want to display my own IP address.
What is the syntax for getting the computer\'s own (if possible, external) IP address?
Someon
Try this:
IPAddress[] localIPs = Dns.GetHostAddresses(Dns.GetHostName()); String MyIp = localIPs[0].ToString();