Getting external IP Address

G

Guest

Hi, im trying to get the public IPAddress of a computer programmatically. I
tried using

Net.DNS.GetHostEntry(Net.Dns.GetHostName()).AddressList(0)

but that only gives the inter-network IPAddress. how can i get the external
IP Address....if that makes any sense

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top