I need help on this badly

  • Thread starter Thread starter Chris Botha
  • Start date Start date
C

Chris Botha

Hi, I've been at this for more than a week now, thought I had the solution
in the end, but not any more.
I need the signal strength of the CONNECTED Wireless Access Point from an XP
box, so this is what I did.

Select from "MSNdis_80211_ServiceSetIdentifier" and look at the
"Ndis80211SsId" property to get the SSID of the connected Access Point -
WORKS GREAT - returns only the SSID of the connected Access Point.
Select from "MSNDis_80211_BSSIList", look at the "Ndis80211BSSIList" to get
the in-range Access Points entries. The properties in the 1st entry is
correct ("Ndis80211Ssid" and "Ndis80211Rssi"), the other entries contain
garbage, and unfortunately the 1st one is not the connected one.

(1) Anyone knows about a fix for this issue, or (2) any other way that I can
get the signal strength of the CONNECTED Access Point?

Thanks.
 
I finally nailed this down, this is how it is done for anyone having a hard
time getting hold of the info too.

Note that the "root/WMI" namespace must be searched in all cases below.

To get the signal strength of the Connected Wireless Access point:
Select from "MSNdis_80211_ReceivedSignalStrength" and examine the
"Ndis80211ReceivedSignalStrength" property.

To get the MAC Address of the Connected Wireless Access point:
Select from "MSNdis_80211_BaseServiceSetIdentifier" and examine the
"Ndis80211MacAddress" property.

To get the SSID (the name) of the Connected Wireless Access point:
Select from "MSNdis_80211_ServiceSetIdentifier" and examine the
"Ndis80211SsId" property.
 
Hi,

1) I am running a small program using MSNdis_80211_ServiceSetIdentifier.
I am using Laptop with wireless card and WINDOWS 2000. I get 0 instances.
Is this class supported only in Windows XP ? I have .Net framework installed
on laptop.

2) Where can I find details about this class
"MSNdis_80211_ServiceSetIdentifier"

I searched whole MSDN. I got 0 results. I dont see it in any WMI class
library.

I am very new to WMI. Please advice me where to see for WiFi related WMI
classes.

Thanks,
Raj
 
Raj, sorry, I'm not your expert either as you could see in my original
message, hope one of the others can help.
 
Hi,

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?

Thanks.
 
Back
Top