Derik Whittaker



Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at
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. 

The .Net framework actually provides the ManagementObjectSearcher object which is part of the System.Management namespace.  This object is a query based object, meaning that if you want to get information out of this object you need to specify the given sql like statement before you can get at the information.  You can use this object to get information on disk drives, network adapters (wireless cards..), CPU usage and more.

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

Here you go.

Main Method to get the data out of the managment object

Helper method to convert the value to a Int

Let me know if you know of any other/better ways to do this.


Posted 11-17-2006 6:40 AM by Derik Whittaker
Filed under: ,



John wrote re: HowTo: Determine Wireless Strength in .Net
on 11-17-2006 11:31 PM

How did you know what type of query to use? Is there a site that gives you the fields you may search?

Derik Whittaker wrote re: HowTo: Determine Wireless Strength in .Net
on 11-18-2006 9:49 AM


To be honest, I just googled for how to determine wireless status using .net.  Ran across a few different sites that talked about how to do this.

I just spent 10 minutes googling for the list of 'select' statements for the ManagementObjectSearcher and could not find a list that talked about the different possibilities.

Thesula wrote re: HowTo: Determine Wireless Strength in .Net
on 11-04-2007 11:27 PM

Brilliant.....f_ _ _ers!!!!!!!!

ffffffffffffff wrote re: HowTo: Determine Wireless Strength in .Net
on 11-04-2007 11:29 PM


About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Google Reader or Homepage Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of
Red-Gate Tools For SQL and .NET


SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
NHibernate Profiler
Balsamiq Mockups
JetBrains - ReSharper
Web Sequence Diagrams
Ducksboard<-- NEW Friend!


Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers


Community Server (Commercial Edition)