获取SSID,VB [英] Get SSID, VB
本文介绍了获取SSID,VB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这里的任何人都知道vb代码吗?获取SSID?
Does anyone here know the vb code to get the SSID ?
我在DeviceNetworkInformation中看到的所有内容均已启用/禁用,或者蜂窝移动运营商的名称.
All I'm seeing in DeviceNetworkInformation is enabled/disabled or the name of the cellular mobile operator.
谢谢
推荐答案
使用当前的SDK,您将无法获得SSID.
//Check if WiFi Network is available var _isWiFiEnabled = Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation.IsWiFiEnabled; //Check if the cell data connection is in Roaming var _isCellDataRoaming = Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation.IsCellularDataRoamingEnabled; //Check if network is available var _isNetworkAvailable = Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation.IsNetworkAvailable; //Check if Cell Data connection is available var _isCellDataAvailable = Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation.IsCellularDataEnabled; //Who is the mobile provider? With this line you can know if you're in roaming. var _mobileOperator = Microsoft.Phone.Net.NetworkInformation.DeviceNetworkInformation.CellularMobileOperator;
希望它会有所帮助.
这篇关于获取SSID,VB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文