Serial number of phone (device)

这一生的挚爱 提交于 2019-12-08 11:16:55

问题


Is it possible to get unique number of phone (not SIM, phone number, but device number!) ??
Something like device serial number, producent code, IMEI etc?
I work with Windows Phone 7.1


回答1:


object uniqueId;
var hexString = string.Empty;
if (DeviceExtendedProperties.TryGetValue("DeviceUniqueId", out uniqueId))
    hexString = BitConverter.ToString((byte[])uniqueId).Replace("-", string.Empty);

Dont forget to specify ID_CAP_IDENTITY_DEVICE capability in the app manifest.




回答2:


you may use TAPI to retrieve IMEI using c#. refer to the this link.




回答3:


Type *#06# from the desktop(home) screen to get the IMEI no



来源:https://stackoverflow.com/questions/14702868/serial-number-of-phone-device

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