How do I find imei number in windows 8.1 phone programmatically?

这一生的挚爱 提交于 2019-12-02 05:10:57

问题


I am trying to find imei number in windows phone 8.1 application programmatically and i have referred many links but cannot find anything clear.I am unable to find tapi.dll for windows 8.1 phone application so is there any alternative for tapi library. Following are few links which i have refferred: http://www.codeproject.com/Questions/779684/How-to-use-tapi-lib-in-Csharp-windows-application

Get IMSI and IMEI in Windows Phone 8.1

https://social.msdn.microsoft.com/Forums/windowsapps/en-US/c80fad35-df82-4c39-b263-93ea3758cadf/getting-imei-number-in-windows-phone?forum=wpdevelop


回答1:


It is possible to retrieve the IMEI using

MobileBroadbandDeviceInformation.MobileEquipmentId

For GSM devices, the MobileEquipmentId value will be the International Mobile Equipment Identitiy (IMEI), which can be up to 15 digits long. For CDMA devices, the MobileEquipmentId value must be the electronic serical number (ESNs0, which is 11 digits long, or the mobile equipment identifier (MEID), which is 17 digits long.

Note
This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators.




回答2:


Try this. It seems serious and cross platform.



来源:https://stackoverflow.com/questions/36847320/how-do-i-find-imei-number-in-windows-8-1-phone-programmatically

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