【发布时间】:2013-01-21 09:33:01
【问题描述】:
【问题讨论】:
标签: c# silverlight windows-phone-7 xaml windows-phone
【问题讨论】:
标签: c# silverlight windows-phone-7 xaml windows-phone
您可以使用DeviceNetworkInformation.CellularMobileOperator 访问此信息。
DeviceNetworkInformation.CellularMobileOperator Property on MSDN
var operatorName = DeviceNetworkInformation.CellularMobileOperator ?? "(No Network)";
由于在没有找到网络的情况下属性可能是null,上面的代码将把你或者网络运营商或者(No Network)变成operatorName。
【讨论】:
您可以使用 DeviceNetworkInformation.CellularMobileOperator 获取运营商名称。
更多详情请参考This。
【讨论】: