Scalabium Software |
|
| Knowledge for your independence. | |
|
The code below gets your MAC address. Should you have more than one NIC in your machine you will get the MAC off the first one. function CoCreateGuid(var guid: TGUID): HResult; stdcall; far external 'ole32.dll';
function Get_MACAddress: string;
var
g: TGUID;
i: Byte;
begin
Result := '';
CoCreateGUID(g);
for i := 2 to 7 do
Result := Result + IntToHex(g.D4[i], 2);
end;
|
|
||||||||||||||||||||||||||||||||||||
| Technology is always changing and evolving and what better way to keep up than with the internet. Learn more about online learning at the learning haven, a resourceful website with lots of articles on just about anything. Stuff like activities for children and arts and crafts movement can be informative to just about anyone willing to learn about them. |
![]() |
Copyrightc 1998-2008, Scalabium
Software. All rights reserved. |
July 5, 2000 |