Getting MAC address within C/C++-program in Windows2000
Alex Vinokur
alexvn@come.to
Wed Sep 18 21:03:00 GMT 2002
----- Original Message -----
From: "Corinna Vinschen" <corinna-cygwin@cygwin.com>
Newsgroups: gmane.os.cygwin
Sent: Wednesday, September 11, 2002 7:01 PM
Subject: Re: Getting MAC address within C/C++-program in Windows2000
http://sources.redhat.com/ml/cygwin/2002-09/msg00531.html
> On Wed, Sep 11, 2002 at 07:40:50PM +0200, Alex Vinokur wrote:
> > ###################
> > Windows 2000
> > CYGWIN_NT-5
> > ###################
> >
> > Is it possible to get MAC address within C/C++-program ?
>
> ioctl(SIOCGIFHWADDR, ...) as on POSIX systems.
>
[snip]
Thanks. It works OK in Cygwin.
See
1. Floyd Davidson's program (UNIX):
http://groups.google.com/groups?selm=87ofbox7xn.fld%40barrow.com
2. C++ Wrapper around the Floyd Davidson's program (Cygwin on Windows 2000):
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4798&lngWId=3
http://groups.google.com/groups?selm=ama8q9%2441lfs%241%40ID-79865.news.dfncis.de
==================
Alex Vinokur
mailto:alexvn@go.to
http://up.to/alexvn
==================
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list