-
November 3rd, 2012, 02:16 PM
#1
IPHelper API query
As per msdn we should use GetAdaptersAddresses() instead of GetAdaptersInfor() for Windows XP and later. I need to get all information for NIC ie: IP, Subnet, Gateway, DNS, WINS.
GetAdaptersInfo() does it all, but couldn't find any sample how to retrieve Gateway, Subnet using GetAdaptersAddresses(), Geteway address can be retrieved by GAA_FLAG_INCLUDE_GATEWAYS from Windows Vista, I need to code to support OS from XP, Can anyone suggest anything ?
Last edited by hypheni; November 3rd, 2012 at 02:22 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|