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:

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

    ReplyDelete

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...