Hi there,
From IPHelper documentation it says that I need to use GetAdaptersAddress for Windows XP, Vista or later. It seems GetAdaptersAddress does not give me the IP and subnet mask info of the adapter.
I used to use GetAdapterInfo() to get IP and Subnet mask. It looks like that GetAdapterInfo is still working on Vista, XP, but Microsoft IPHelper Doc says that I should use GetAdapterAddress instead. It is really confusing.
So what are the proper API functions I should use for Vista or XP?
Please help.
From IPHelper documentation it says that I need to use GetAdaptersAddress for Windows XP, Vista or later. It seems GetAdaptersAddress does not give me the IP and subnet mask info of the adapter.
I used to use GetAdapterInfo() to get IP and Subnet mask. It looks like that GetAdapterInfo is still working on Vista, XP, but Microsoft IPHelper Doc says that I should use GetAdapterAddress instead. It is really confusing.
So what are the proper API functions I should use for Vista or XP?
Please help.