I'm trying and trying to find a value in the registry or through WMI (with wbemtest) which tells me that this network adapter uses a wireless connection. There are values in the WMI Win32_NetworkAdapter class like AdapterType but they are only telling me that it is a Ethernet device. On another pc when I query this class then I get a WiFi_NetworkAdapter entry but I think that depends on how the driver vendor has implemented it. I even tried to find something in the registry but couldn't find anything. The only part where I can see that this is a wireless device is when I am looking at the name and description but to be honest that is not a good solution. On Windows XP I found a registry key with a "MediaSubType" field under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{GUID}\Connection
but on Windows 7 this key seems not to be obligatory.
Any other solution besides Registry or WMI is also very appreciated but please keep in mind that I don't wanna use third party tools because later on I want to write a little C++ program.