Reading NIC's Description and MAC Address Win32 API

174 Views Asked by At

I am using GetAdaptersInfo() to READ the NIC's Description and using it. However, I recently came to know that, someone can modify this in Windows Registry, as there is a key called Friendly Name in HKLM tree section.

For me it is somewhere in Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ROOT...

My problem is, not to get into this problem and get the Description field which in not impacted by change in Friendly Name field.

0

There are 0 best solutions below