Detect WiFi/WLAN interface programmatically
Hi,
I need to detect the WiFi / WLAN interface of a computer using WMI or something else. The only way I found is currently to use the WMI filter
SELECT * FROM Win32_NetworkAdapter WHERE PhysicalAdapter=True
and use the result of the "Description" field to check against
netsh.exe wlan show interface
Is there a better way using only WMI or registry requests? Is the "Speed" field a good indicator for WLAN? Since I only have a 54MB/s I do not find other values?
Regards, Nils.
April 9th, 2010 11:29am