Article View: borland.public.cppbuilder.nativeapi
Article #10048Re: network serial number
From: Daniele Borini
Date: Mon, 24 May 2004 09:15
Date: Mon, 24 May 2004 09:15
13 lines
1561 bytes
1561 bytes
you have to surf the registry to obtain these information, this is the key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards you'll find a key for each network card you've got on board. There you can find adapters' description. For each key you have to search for another key to get ip address , mac address ect.. the key is given by HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\+id+\Parameters\Tcpip where id is the one returned by the firt query. For more information try to look to these key with regedit and you'll find what you need. Daniele
Technical Details
Message-ID:
<40b1bd4d@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40b1b974$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d0c8dbfe3b2a0209 X-Google-Attributes: gid10cc67,public Date: Mon, 24 May 2004 11:15:47 +0200 From: Daniele Borini <borini@infinito.it> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.6) Gecko/20040113 X-Accept-Language: it, en, en-us MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: network serial number References: <40b1b974$1@newsgroups.borland.com> In-Reply-To: <40b1b974$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.94.232.114 Message-ID: <40b1bd4d@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1085390157 62.94.232.114 (24 May 2004 02:15:57 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail