简体   繁体   English

手机序列号(设备)

[英]Serial number of phone (device)

Is it possible to get unique number of phone (not SIM, phone number, but device number!) ?? 是否有可能获得唯一的电话号码(不是SIM卡,电话号码,而是设备号码!)??
Something like device serial number, producent code, IMEI etc? 设备序列号,产品代码,IMEI等等?
I work with Windows Phone 7.1 我使用Windows Phone 7.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. 别忘了在应用清单中指定ID_CAP_IDENTITY_DEVICE功能。

you may use TAPI to retrieve IMEI using c#. 您可以使用TAPI使用c#检索IMEI。 refer to the this link . 请参阅此链接

在桌面(主页)屏幕上键入*#06#以获取IMEI号

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM