getting ip address of the default route interface (public ip vs private ip) 
Author Message
 getting ip address of the default route interface (public ip vs private ip)

in a machine with several network interfaces the following code will get you
all their ips

DNS.GetHostByName(DNS.GetHostName()).AddressList

how do I determine which is the ip of the default route interface (public
ip)

Alex



Sat, 28 Jun 2003 08:17:37 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. using .net classes how to get the ip of the default route iface

2. IP address of Default Nameservers ??

3. How to get multiple IP-Addresses of the local-host (for two network-interfaces)

4. problem getting source ip address from iphdr structure

5. Getting the IP Address

6. Getting Local IP address

7. Getting an IP address

8. Getting the IP address of a DCOM call

9. getting ip address of remote computer

10. Getting host Ip Address

11. Getting Own IP Address From C Program

12. Getting the IP address from a machine name

 

 
Powered by phpBB® Forum Software