Windows Phone 无线扫描
我尝试检索如何在 Windows Phone 上扫描无线网络。我在 msdn 文档中只找到了有关使用套接字的示例。是否可以获得有关信号强度的信息(RSSI 值,以 dB 为单位)?
I try to retrieve how to scan wireless networks on the windows phone. I found only examples about working with sockets in msdn documentation. Is possible get information about strength of signal (RSSI value in dB)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有关连接网络信号强度的信息不会提供给应用程序;相反,您可以从
Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation
类网络是否可用,是否是WiFi网络,以及信息蜂窝网络的信息(名称、是否启用数据、是否允许漫游),但不包括已断开网络的强度或详细信息。您可以获得的最接近的是检索可用带宽(来自
Microsoft.Phone.Net.NetworkInformation.NetworkInterfaceInfo
),因为这可能会影响信号强度(但不能保证是比例关系)Information on the signal strength of connected networks is not made available to apps; Instead you can find out from the
Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation
class if the network is available, whether it is a WiFi network, as well as information on the cellular network (name, whether it is data enabled, whether roaming is allowed), but not strength nor details of disconnected networks.The closest you can get is to retrieve the available bandwidth (from
Microsoft.Phone.Net.NetworkInformation.NetworkInterfaceInfo
), as that can have a bearing on signal strength (but it cannot be guaranteed to be a proportional relationship)