Monitoring SIM changes in Windows Phone 8.1

烈酒焚心 提交于 2019-12-11 10:38:38

问题


I am working on a windows phone project using C# and Xaml... I will like to get the sim information and also track SIM changes in windows 8.1


回答1:


It seems that the Windows Phone SDK does not allow interaction with the SIM for security reasons. I haven't found a definitive source that says so, but the third I would say is a safe bet.

Sources on StackOverflow

  • "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.

Sources on MSDN forums

  • "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



来源:https://stackoverflow.com/questions/29572559/monitoring-sim-changes-in-windows-phone-8-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!