🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how to get netcard mac address

#1281
From: Eelke
Date: Mon, 01 Oct 2007 12:02
10 lines
1330 bytes
zhan wei ming schreef:
> Work out with GetAdaptersInfo, problem is now how to distinguish physical 
> netcard or virtual netcard?
> 
> 
I don't know a fool proof technique but virtual cards have in general 
the localy administered bit set and real cards not. See: 
http://en.wikipedia.org/wiki/Mac_address

Eelke
Technical Details
Message-ID: <4700e1d9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!194.134.4.77.MISMATCH!news2.euro.net!newsfeed.freenet.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <46fe6444@newsgroups.borland.com> <4700afd7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4a7fdb078d856a0a
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 01 Oct 2007 14:02:42 +0200
From: Eelke <e.klein@remove.mplussoftware.nl>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: how to get netcard mac address
References: <46fe6444@newsgroups.borland.com> <4700afd7@newsgroups.borland.com>
In-Reply-To: <4700afd7@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 195.241.133.37
Message-ID: <4700e1d9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1191240153 195.241.133.37 (1 Oct 2007 05:02:33 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!eweka.nl!lightspeed.eweka.nl!194.134.4.77.MISMATCH!news2.euro.net!newsfeed.freenet.de!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail