如何在移动设备上获取WLAN信息?

时间:2021-06-21 07:24:39

I want to build something like a network scanner, so that I see in my application on which AccessPoint I'm on and what parameters this net has.

我想构建类似于网络扫描程序的东西,以便在我的应用程序中看到我在哪个AccessPoint以及这个网络有哪些参数。

Some interesting point would be ESSID, signal strength, noise, channel.

一些有趣的观点是ESSID,信号强度,噪声,信道。

Are theses properties device independent or do I have to interface each device independently?

这些属性是独立于设备还是我必须独立连接每个设备?

2 个解决方案

#1


1  

I have not tried this yet, but I believe OpenNetCF is you friend:

我还没试过,但我相信OpenNetCF是你的朋友:

http://www.opennetcf.com/library/networkinformation/

#2


0  

This is really the same question as this one: Accessing a list of avaliable Wifi APs, on Windows Mobile

这与下面的问题非常相似:在Windows Mobile*问可用的Wifi AP列表

The answer, summarized, is that you can P/Invoke WZC, but it's difficult. The Smart Device Framework has it done.

总结的答案是你可以P / Invoke WZC,但这很难。智能设备框架完成了它。

#1


1  

I have not tried this yet, but I believe OpenNetCF is you friend:

我还没试过,但我相信OpenNetCF是你的朋友:

http://www.opennetcf.com/library/networkinformation/

#2


0  

This is really the same question as this one: Accessing a list of avaliable Wifi APs, on Windows Mobile

这与下面的问题非常相似:在Windows Mobile*问可用的Wifi AP列表

The answer, summarized, is that you can P/Invoke WZC, but it's difficult. The Smart Device Framework has it done.

总结的答案是你可以P / Invoke WZC,但这很难。智能设备框架完成了它。