Description: Returns MAC address of the Ethernet network card.
On input, set IdxCount to an index of the card (0 is enouth,
if Count is not yet known). On output, Count always contains
number of cards. It seems that if the are several virtual
network devices in addition to the real network device
(e.g. installed with Virtual Machine emulators), the first card
returned actually is a real network unit.
|<br>
Though only Ethernet cards are looking for, Count contains
amount of all the interfaces (loopback, tokenring, sleep, etc.)
So make a loop from 0 to Count-1 until returned value become
<> 0 to get the MAC addres og the Ethernet network device
File list (Check if you may need any files):
MACIP.pas