🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5435

Re: MAC address of network adapter

#5435
From: Vladimir Stefanovic
Date: Sun, 14 Aug 2005 21:23
34 lines
1847 bytes
Yes, I use that method also.

But if it is the question of getting the *unique* hardware
ID based on MAC, than I think that the string:

"444553540000"

... that sometimes can be returned should be skipped.

It has something with modems and dial-up (PPP).



-- 
Best regards,
Vladimir Stefanovic
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:42ff9d57$1@newsgroups.borland.com...
>
> "Stefano Frosio" <stefanofrosioNIENTESPAM@GRAZIEhotmail.com> wrote in
> message news:42ff6b2e@newsgroups.borland.com...
>
>> Here you go:
>>
>> http://community.borland.com/article/0,1410,26040,00.html
>
> There is a 4th way that tends to be better - call the Win32 API
> GetAdaptersInfo() function instead.  The IP_ADAPTER_INFO structure has an
> Address member that is the MAC address.
>
>
> Gambit
>
> 
Technical Details
Message-ID: <42ffb631@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42ff3a2c$1@newsgroups.borland.com> <42ff6b2e@newsgroups.borland.com> <42ff9d57$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d63a53bd7cd0d405
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42ff3a2c$1@newsgroups.borland.com> <42ff6b2e@newsgroups.borland.com> <42ff9d57$1@newsgroups.borland.com>
Subject: Re: MAC address of network adapter
Date: Sun, 14 Aug 2005 23:23:01 +0200
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 82.117.212.65
Message-ID: <42ffb631@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1124054577 82.117.212.65 (14 Aug 2005 14:22:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail