In my latest project I use GetIpNetTable for accessing the Windows ARP-Table from C# using .NET
I noticed, when I looked at the MAC Addresses, that the last two bytes (7 and 8) of my entries kept changing! As MAC addresses usually have only 6 Bytes, I wondered what these two bytes contain...
See http://msdn.microsoft.com/en-us/library/cc704859%28v=prot.10%29.aspx
ypedef struct _MIB_IPNETROW {
DWORD dwIndex;
DWORD dwPhysAddrLen;
BYTE bPhysAddr[8]; // WHY 8 BYTES??
DWORD dwAddr;
DWORD dwType;
} MIB_IPNETROW,
*PMIB_IPNETROW;