'arp -a' from DOS prompt or bash gives you the MAC address. But I don't know
the Windows API functions behind 'arp'.
Hope this helps.
Karsten
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Freitag, 9. März 2001 13:39
> To: [EMAIL PROTECTED]
> Subject: Re: SIOCGIFCONF but not SIOCGIFHWADDR
>
>
> If only I knew how to retrieve that information from Windows.
> I did look at the Cygwin source for SIOCGIFCONF, which searches
> the registry for the IP adress + mask. But in the registry
> I was unable to find the MAC address. So how to retrieve
> that information from Windows using whatever Windows API calls?
>
> Bert
>
> On Fri, Mar 09, 2001 at 08:31:58AM -0500, Earnie Boyd wrote:
> > [EMAIL PROTECTED] wrote:
> > >
> > > Cygwin supports ioctl(SIOCGIFCONF) just fine, which is great!, but
> > > ioctl(SIOCGIFHWADDR) does not seem to be supported as of
> SIOCGIFHWADDR.
> > > As I need to find out the Ethernet hardware address is
> there another way
> > > to get this information?
> > >
> >
> > You could download the Cygwin source, add the support you need and
> > submit a patch for consideration to [EMAIL PROTECTED]
> >
> > Earnie.
> >
> > P.S.: See http://cygwin.com/cvs.html for how to get the CVS source.
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple