Re: MAC address for Ethernet interface
Vamsi Kambhampati <[email protected]> Fri, 12 Dec 2003 01:43:17 -0700 (MST)
| Newsgroups | gmane.linux.redhat.devel |
|---|---|
| Message-ID | <Pine.LNX.4.44.0312120139570.25865-100000@depeche_mode.cs.colostate.edu> |
On Linux, this would be /sbin/ifconfig (and look for a line which says 'eth0' and a field next to it called 'HWaddr xx:xx:xx:xx:xx:xx'). On Windows, this would be 'ipconfig' and should have a similar interface. -- Vamsi -------------------------------------------------------- Vamsi K Kambhampati Assistant Systems [email protected] office: 970-491-5305 On 12 Dec 2003, anil garrepally wrote: > Hi, Is there any system call available for getting the MAC address of ethernet interface. I need it in my program. Anil.