如何获取芒果的运营商详细信息? [英] how to get Carrier details on mango?

查看:20
本文介绍了如何获取芒果的运营商详细信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何 API 可以为我们提供电话在哪个运营商(例如:vodafone)上?母国,当前国家,详细信息?

Is there any API which can gives us phone is on which carrier(ex: vodafone)? home country, current country, details?

我在 Microsoft.Phone.Net.NetworkInformation 中找不到任何此类信息,我是否遗漏了什么?

I couldn't find any such in Microsoft.Phone.Net.NetworkInformation, am i missing something?

感谢您的帮助.

推荐答案

您可以通过静态属性 DeviceNetworkInformation.CellularMobileOperator.

You can get this via the static property DeviceNetworkInformation.CellularMobileOperator.

请记住,可能并不总是有一个 - 在这种情况下它返回 null.

Remember that there may not always be one - in which case it returns null.

您还可以获得 设备名称和制造商 或通过定位服务.

You can also get the device name and manufacturer or the current country via the Location services.

您离祖国"最近的地方是通过区域设置.

The nearest you'de be able to get to a "home country" would be via the regional settings.

这篇关于如何获取芒果的运营商详细信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆