如何在 Windows Phone 8 SL 内获取设备运营商和国家/地区

How to get device carrier and country within Windows Phone 8 SL

我正在尝试查找设备品牌以获取设备国家/地区和运营商,例如 000-HK 以获取香港或 TIM 以获取意大利(与我在 Extras 和 Infos 应用程序中可以看到的值相同)

我该怎么做?我尝试了一个读取注册表文件的库,但我无法提交该应用程序,因为我无法使用该 API

我的项目是 Windows Phone Silverlight with c#

注意:我不需要 SIM 运营商或实际的 phone 语言

编辑:我不需要用户或 SIM 运营商的实际位置,但 phone 销售 phone 的品牌和运营商,例如 Lumia 图标应该 return 那是美国人 phone 品牌是 Verizon

当前 API 无法访问此类信息。 phone 你唯一能得到的就是品牌和型号。

DeviceNetworkInformation.CellularMobileOperator;
string val = Microsoft.Phone.Info.DeviceExtendedProperties.GetValue("OriginalMobileOperatorName") as string;

//I wanted this value...