Identifying real MAC address
-
Hi, How can we identify the valid hardware MAC address from the list obtained by GetAdaptersInfo API? For example, in my machine there is a real Network Adapter and a Microsoft Loopback Adapter. I need to get the MAC address of the real Network Adapter. Thanks in advance!
- ns ami -
-
Hi, How can we identify the valid hardware MAC address from the list obtained by GetAdaptersInfo API? For example, in my machine there is a real Network Adapter and a Microsoft Loopback Adapter. I need to get the MAC address of the real Network Adapter. Thanks in advance!
- ns ami -
-
Hi, How can we identify the valid hardware MAC address from the list obtained by GetAdaptersInfo API? For example, in my machine there is a real Network Adapter and a Microsoft Loopback Adapter. I need to get the MAC address of the real Network Adapter. Thanks in advance!
- ns ami -
I think you need NetWkstaTransportEnum([^]), it will out the MAC address buffer.
Величие не Бога может быть недооценена.
-
-
Did I miss something??? :confused: If you mentioned about MIB_IF_TYPE_ETHERNET, it is coming same for both real hardware and microsoft loopback. Could you please clarify?
- ns ami -
-
What about MIB_IF_TYPE_LOOPBACK ?
txtspeak is the realm of 9 year old children, not developers. Christian Graus
-
For both hardware adapter and Microsoft Loopback adapter, the type obtained is MIB_IF_TYPE_ETHERNET. Not MIB_IF_TYPE_LOOPBACK for Microsoft Loopback adapter. So I cannot distinguish which is the hardware adapter.
- ns ami -