[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: mac adrress
- From: steve donovan <steve.j.donovan@...>
- Date: Thu, 18 Mar 2010 15:00:04 +0200
On Thu, Mar 18, 2010 at 2:53 PM, Enrico Colombini <email@example.com> wrote:
> One thing to be aware is that the above strings change according to OS
> language; also there could be other (possibly virtual) network cards, so
> extracting the desired MAC address from the output of 'ipconfig /all' isn't
> always straightforward.
Yes, I forgot that Windows speaks other languages ;)
A rather easier command to parse is getmac
Physical Address Transport Name
But yes, it's not easy to distinguish the real interface from the
The API route is .. tricky. nixio may be the best cross-platform option.