监控 Windows Phone 8.1 中的 SIM 卡变化
Monitoring SIM changes in Windows Phone 8.1
我正在使用 C# 和 Xaml 开发一个 windows phone 项目...我想获取 SIM 信息并跟踪 [=14= 中的 SIM 变化] 8.1
似乎 Windows Phone SDK 出于安全原因不允许与 SIM 交互。我还没有找到这样说的 definitive 来源,但我认为第三个是安全的选择。
Whosebug 上的来源
"Windows Phone 8 SIM interaction" accepted answer by 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?" accepted answer by 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" accepted answer by 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
我正在使用 C# 和 Xaml 开发一个 windows phone 项目...我想获取 SIM 信息并跟踪 [=14= 中的 SIM 变化] 8.1
似乎 Windows Phone SDK 出于安全原因不允许与 SIM 交互。我还没有找到这样说的 definitive 来源,但我认为第三个是安全的选择。
Whosebug 上的来源
"Windows Phone 8 SIM interaction" accepted answer by 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?" accepted answer by 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" accepted answer by 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