Is there a way to get wifi signal strength in C#? Currently I'm getting the same through
Process proc = new Process();
proc.StartInfo.CreateNoWindow = true;
proc.StartInfo.FileName = "netsh";
proc.StartInfo.Arguments = "wlan show interfaces";
proc.StartInfo.RedirectStandardOutput = true;
proc.StartInfo.UseShellExecute = false;
proc.Start();
and then I get the wifi signal strength by reading the output. Is there a better way? Preferably using API's
Why don't you use a WMI query to get it in a clean way ?
Please see this for more info. http://social.msdn.microsoft.com/Forums/en-US/34a66ee5-34f8-473d-b6f2-830a14e2300b/get-signal-strength-in-c