Hello,
We are now testing our applicaion software on Microsoft Window Vista with Visual Studio 2005
And we have a function that gets the Mac address of the installation PC specifically the mac address of the LAN Ethernet card.
I am using the IP helper (GetIFTable function) to get the list of Network Adapter and filter only Ethernet type to get LAN mac address(shown in ipconfig/all).
The original function works fine in Windows 2K and XP(SP2).
Invistigating it, the problem is MIB-II interface table which I received from IP helper function GetIfTable() has many entries for ethernet adapter, one with the same name as ethernet adapter, other with QOS appended to it, and also WAN ethernet adapter so on and so forth. The list composed of many adapters whereas in Windows XP, it only returns one entry for ethernet adapter specifically the shown when you do the ipconfig/all command.
Can somebody please explain the reason for this?
Does window vista use of Ip helper dll is different? Is the Interface table of Window Vista has a different structure because of IPV6?
It will be a great help. thanks
Regards,
Danilo