•Managing Network Adapters Using GetAdaptersInfo
•Managing Interfaces Using GetInterfaceInfo
•Managing IP Addresses Using GetIpAddrTable
These are the three methods listed on the msdn IP Helper API. Why would I prefer one method over another?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They are mainly resulted from terminology differences, see http://msdn.microsoft.com/en-us/library/aa365798%28v=vs.85%29.aspx for the explanation regarding “adapter” and “interface”. In short, an adapter is a data-link level abstraction while an interface being IP-level abstraction.
It will depend on the situation that you want to solve to determine what API to use. For example, link speed or tunnel type can only be acquired from adapters.