Re: structure for GetAdaptersAddresses
- Posted by Pete Stoner <stoner.pete at gmail.com> Jan 04, 2006
- 514 views
Thanks Brian, I had seen your Macaddy and that is almost there but I want to get the 'Friendly name' - that is the name of the adapter that is shown in the Network Connections folder and the only way I can see is with the 'GetAdaptersAddresses' which you don't currently have wrapped. This is for an old program I am rewriting, it is for changing the Ethernet address, currently it runs the ipconfig command into a file then reads that for the friendly names, I then use these friendly names to build a file as input to a netsh command. The running of the ipconfig causes a dos screen to flash up and I want to get rid of that, also tieing together the friendly name with the 'Windows' adapter name may give me another way to change the IP address... Any help is appreciated... PeteS