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?
views:
8answers:
1
A:
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
2010-10-15 10:24:20
Thanks for looking in my problem. I will try ur suggestion.
Haranadh Gupta
2010-10-21 12:00:26