how to get Carrier details on mango?
Is there any API which can gives us phone is on which carrier(ex: vodafone)? home country, current country, detai开发者_StackOverflow中文版ls?
I couldn't find any such in Microsoft.Phone.Net.NetworkInformation, am i missing something?
Thanks for help.
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.
In Mango, i.e. the next release, does have a static class called DeviceNetworkInformation It provides CellularMobileOperator which is the name of the carier.
精彩评论