|
-
Apr 17th, 2000, 11:53 AM
#1
Thread Starter
Guru
If anyone has the code to retrieve the NAMES of the installed network adapters, I would appreciate it....
I have the code to retrieve the IP addresses and MAC addresses, but the name is the only thing left
better yet, if you know of where to get code to perform functions similar to WINIPCFG, that would be great!
Thanks
Tom
-
Apr 17th, 2000, 12:12 PM
#2
Hyperactive Member
I won't give you the code for it because its simply a matter of manupulating the registry.
It differs from Win95 and WinNT but on my NT machine its under :
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\NetworkCard\
I suggest you go into Control Panel, list the Adaptors, write down the name and then do a search in the registry for that Name and see if you find a similar key to the one above.
Now all you need to do is use the ScanEnumKey (sp?) and other API registry calls to find out what they are.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|