我正在使用 C# 和 Xaml 开发一个 Windows Phone 项目...我想获取 SIM 卡信息并跟踪 SIM 卡在 Windows 8.1 中的变化
请您参考如下方法:
出于安全原因,Windows Phone SDK 似乎不允许与 SIM 交互。我还没有找到这样说的权威消息来源,但我认为第三个是一个安全的赌注。
StackOverflow 上的资源
"Windows Phone 8 SIM interaction" Den Delimarsky 接受的答案:
No, the Windows Phone SDK does not offer capabilities to interact with the SIM card inserted in the device.
"How to get sim serial number in Windows programming 8?" Matt Lacey 接受的答案:
For security reasons, the SIM number and other personal information are not available in the public SDK for Windows Phone 8. To uniquely identify a device you can use the ANID2 value.
MSDN 论坛上的资源
- "Read Phone number using SDK" RashmiA-MSFT, Microsoft employee 接受的答案:
You can use deviceextendedproperties to retrieve device information but it doesn't provide phone number or SIM information. There is no programmatic way to get SIM & phone number information from an app. http://msdn.microsoft.com/en-us/library/windowsphone/develop/microsoft.phone.info.deviceextendedproperties
