I need help on this badly


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.
 
Ad

Advertisements

C

Chris Botha

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.
 
G

Guest

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
 
C

Chris Botha

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

Advertisements

Joined
Feb 25, 2010
Messages
1
Reaction score
0
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top