how to get Carrier details on mango?

后端 未结 2 1883
悲&欢浪女
悲&欢浪女 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.

提交回复
热议问题