how to get Carrier details on mango?

后端 未结 2 1869
悲&欢浪女
悲&欢浪女 2021-01-16 07:42

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

I couldn\'t find any such in Microsoft.Phone.Ne

相关标签:
2条回答
  • 2021-01-16 07:59

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

    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.

    0 讨论(0)
  • 2021-01-16 08:19

    In Mango, i.e. the next release, does have a static class called DeviceNetworkInformation It provides CellularMobileOperator which is the name of the carier.

    0 讨论(0)
提交回复
热议问题