How to get external IP address?

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

Hi,

I was wondering if anyone knows how to get the external IP address (the
address beyond the router [or several routers]) using C# code? Basically
this is the address that appears on the internet.

Thanks

Tim
 
Hi,

See if this helps: System.Net.Dns.GetHostByName() OR GetHostAddresses()

Hi,

I was wondering if anyone knows how to get the external IP address (the
address beyond the router [or several routers]) using C# code? Basically
this is the address that appears on the internet.

Thanks

Tim
 
Back
Top