M
mielmonster
Hello,
first thank to all OpenNetCF contributors for your great framework.
I've got a problem with the OpenNETCF.Net assembly.
I would like to get the signal strength of all the accees points known
by my Adapter but I don't how to do it.
here's my code.
do you have an idea ???
thank you a lot
Yannick
private ArrayList GetMeasures()
{
ArrayList res = new ArrayList();
AdapterCollection ac = Networking.GetAdapters();
IEnumerator ie = ac.GetEnumerator();
while (ie.MoveNext())
{
Adapter a = (Adapter)ie.Current;
if (a.IsWireless)
{
AccessPointCollection apc = a.NearbyAccessPoints;
IEnumerator ieap = apc.GetEnumerator();
while (ieap.MoveNext())
{
AccessPoint ap = (AccessPoint)ie.Current;
// here I would like to put the signal strength
// in the arraylist
res.Add(ap.???);
}
}
}
}
first thank to all OpenNetCF contributors for your great framework.
I've got a problem with the OpenNETCF.Net assembly.
I would like to get the signal strength of all the accees points known
by my Adapter but I don't how to do it.
here's my code.
do you have an idea ???
thank you a lot
Yannick
private ArrayList GetMeasures()
{
ArrayList res = new ArrayList();
AdapterCollection ac = Networking.GetAdapters();
IEnumerator ie = ac.GetEnumerator();
while (ie.MoveNext())
{
Adapter a = (Adapter)ie.Current;
if (a.IsWireless)
{
AccessPointCollection apc = a.NearbyAccessPoints;
IEnumerator ieap = apc.GetEnumerator();
while (ieap.MoveNext())
{
AccessPoint ap = (AccessPoint)ie.Current;
// here I would like to put the signal strength
// in the arraylist
res.Add(ap.???);
}
}
}
}