rplusg
rplusg

Reputation: 3446

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, details?

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

Thanks for help.

Upvotes: 1

Views: 622

Answers (2)

Matt Lacey
Matt Lacey

Reputation: 65586

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.

Upvotes: 2

Vivek Nirkhe
Vivek Nirkhe

Reputation: 369

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

Upvotes: 2

Related Questions