Friday, November 17, 2006

"HowTo: Determine Wireless Strength in .Net" [via WMI & System.Management]

Derik Whittaker - HowTo: Determine Wireless Strength in .Net

"So, have you ever wondered how to get the information about the strength of your wireless signal using .Net?  It is actually pretty easy through .net. 

...

Getting the information about the wireless strength is pretty straight forward and can be done in about 5 - 10 lines of code.

..."

I know I'll need this one day...

The problem with WMI is that it's SO compresive. There's just SO much stuff, it's sometimes hard to find the right namespace/class/object...

The magic in this case is the Ndis80211ReceivedSignalStrength property of the MSNdis_80211_ReceivedSignalStrength class.  

1 comment:

Anonymous said...

thanks, this helped! however, i had to restart the rdc connection before it worked