Page 1 of 1
Wireless Signal Strength
Posted: June 11th, 2006, 10:38 pm
by Rafael
It show your signal strength from your wireless network card.
http://www.freewebs.com/rafaelcamacho/Wireless.dll
How it works?
$dll(Wireless,1,,)
Return the signal strength in dBm.
For example, in my PC:
-53

Posted: June 12th, 2006, 1:13 pm
by mattcro
Thanks for this plugin, Rafael! I recently started to use wireless networking and sometimes have problems with signal strength, so this lets me easily keep an eye on the signal.
I notice that you've used "Wireless" (capital W) rather than "wireless". Most of the other plugins use all lower case letters for their name. You must use "$dll(Wireless,1,,)" not "$dll(wireless,1,,)" like I tried first and got the "No Bridge Func" error.
How about seeing if you can also get the connection speed? Function 2 could return "54", "11" etc for the speed in Mbps.
Matt.
Posted: June 12th, 2006, 1:23 pm
by Rafael
Hi Matt...
Sorry, at next time, I will take care of this case...
About the connection speed, I can?t, yet, read PDH counters in C#...
So you can obtain this values directly from your WNIC card using PDH counters!! You can check this speed in perfmon.exe utility.
Add a counter, select (in my case: Interface de Rede, in your, must be: Network Adapter), and select you WNIC...
Okay?

Posted: March 3rd, 2008, 6:39 pm
by grantb3
This is a great plugin. Any ideas on how to convert it to bars? First we'd have to deal with the negative number... is there a way to do math like absolute value or subtraction? Plus the closer to zero the higher the SS, correct?
Posted: March 6th, 2008, 10:19 am
by NTM
Would you be willing to share your source code with us maybe?
Re: Wireless Signal Strength
Posted: August 17th, 2009, 10:23 pm
by Rafael
Hi!
This is a very old project! If I found the source, I can put it here.

Re: Wireless Signal Strength
Posted: August 17th, 2009, 10:53 pm
by Rafael
private DateTime baseUTC = DateTime.UtcNow;
public string function1(string param1, string param2)
{
return Sinal();
}
public int GetMinRefreshInterval()
{
return 300;
}
private string Sinal()
{
string str1 = "root\\WMI";
string str2 = "select Ndis80211ReceivedSignalStrength from MSNdis_80211_ReceivedSignalStrength where active = true";
string str3 = "";
ManagementObjectCollection.ManagementObjectEnumerator managementObjectCollection_ManagementObjectEnumerator = new ManagementObjectSearcher(str1, str2).Get().GetEnumerator();
try
{
bool flag = managementObjectCollection_ManagementObjectEnumerator.MoveNext();
if (flag)
{
str3 = ((ManagementObject)managementObjectCollection_ManagementObjectEnumerator.Current)["Ndis80211ReceivedSignalStrength"].ToString();
break;
}
}
finally
{
bool flag = managementObjectCollection_ManagementObjectEnumerator == null;
if (!flag)
{
((IDisposable)managementObjectCollection_ManagementObjectEnumerator).Dispose();
}
}
return str3;
}
}
Re: Wireless Signal Strength
Posted: May 20th, 2010, 12:38 am
by vascotech88
Can somebody upload the DLL file? Because the page doesent exist.
And if somebody knows how to put the result in percentage and in bars, i would appreciate!
Thanks!
Re: Wireless Signal Strength
Posted: September 26th, 2010, 12:13 am
by valent43
still missing

Re: Wireless Signal Strength
Posted: September 27th, 2010, 9:44 pm
by mattcro
I've edited the first post and attached the Wireless Signal Strength plugin dll that I got in 2006 from Rafael's site.