Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Request: NetworkInterface::adapterName() #148
The NetworkInterface class provides two accessors to names: name() and displayName().
I would like to request that adapterName() be added to that list as some Windows network API's (DHCP is an example) use the AdapterName (GUID or LUID i believe) as input parameter.
I realise that there are helper functions for converting indexes to different names or identifiers but they are only available on Windows Vista or later.
On other operating systems I guess that the adapter name will be the same as name() and displayName() just as name() and displayName() are the same..