Results 1 to 2 of 2

Thread: Retrieve list of NICs installed in system

  1. #1

    Thread Starter
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844
    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

  2. #2
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    461
    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
  •  



Click Here to Expand Forum to Full Width