Mike, I tried your function, but it did not return the correct address.
I am using windows XP and when doing an ipconfig/all, it reports back 2 MAC addresses.
The actual adapter is one, and the other I think is used when I am connecting to my VPN (description says Nortel).
Jason