-
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
-
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.