Hi Could any one share about Network Adaptor configured with ip address or not eithor using dhcp or manual. How to check using vc++/Windows api?
Asked
Active
Viewed 452 times
1 Answers
0
Use GetAdapterAddresses in the IP Helper section of Win32.
The GetAdaptersAddresses function retrieves the addresses associated with the adapters on the local computer.
This returns very detailed information, including DHCP/DNS settings for this adapter, in a list of IP_ADAPTER_ADDRESSES structures. The API is non-trivial to use so follow the docs carefully.

Steve Townsend
- 53,498
- 9
- 91
- 140
-
Thanks for looking in my problem. I will try ur suggestion. – Hara Oct 21 '10 at 12:00