How to get SSID and RSSI for Win7 using C#

Posted by ailhaddin on Stack Overflow See other posts from Stack Overflow or by ailhaddin
Published on 2010-02-25T04:08:51Z Indexed on 2010/03/20 21:31 UTC
Read the original article Hit count: 340

Filed under:
|
|
|
|

I am very new to Win7 and WMI. Please advice me where to see for active access point from WiFi and how to get ssid/rssi for each access point.

I have use:

ManagementClass mc = new ManagementClass("root\\WMI", "MSNdis_80211_ServiceSetIdentifier", null);          
ManagementObjectSearcher searcher1 = new ManagementObjectSearcher(@"root\wmi","SELECT * FROM MSNdis_80211_BSSIList");

but I got 0 results. Is this class support Win7? Anybody can help?

© Stack Overflow or respective owner

Related posts about ssid

Related posts about rssi