Need Applescript to retrieve Primary Mac Address

Hello,
Can someone help me with an Applescript to retrieve Primary Mac Address?
Thanks.
lenpartico

Hi and welcome,

this works on 10.4 and higher


primary Ethernet address of (system info)