// JP opened flex table

Click to See Complete Forum and Search --> : detecting Default GateWay of LAN


xs2ahmed
March 8th, 2004, 06:32 AM
Hello:
How to detect the default gateway of the LAN..
Thanks
Muhammad Ahmed

j0nas
March 8th, 2004, 07:20 AM
You can use GetAdaptersInfo (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/iphlp/iphlp/ip_helper_start_page.asp).

It will give you a list gateways per network adapter.

Andreas Masur
March 8th, 2004, 07:20 AM
[Moved thread]

//JP added flex table