The MAC is a media access control identification, the first two bytes represent the country and the 4 bytes represent the Manufacturer. No two adapters are the same, unfortunately, due to the advent of modern mass-production of NIC's, the MAC can be easily changed dynamically. Back in the old days, the NIC's consisted of DIP Switches (Dual Inline Pins) which allowed you to change the setting of the NIC such as IRQ, jumper address and so on...
They have nothing to do with processor cores, that's a separate hardware thing.
There is no portable way of getting the MAC address, theoretically you could use the ifconfig
command for *nix/Linux variants. For the Windows environment you could use the ipconfig
command, using either, you could search for the relevant adapter in question... as this example under Linux would show...my network adapter is called 'eth0'...
ifconfig eth0 | grep HWaddr | cut -d\t -f4
would return:
HWaddr 00:02:03:04:05:06