WM 5 SDK 符号 [英] WM 5 SDK Symbol

查看:42
本文介绍了WM 5 SDK 符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有大量的 Window Mobile 设备(Symbol MC35 和 MC70).我想编写一个小应用程序来获取设备序列号和 SIM 卡序列号(不是电话号码).我已经尝试使用 Symbol SDK,我可以获得 MC70 的设备序列号,因为它们有一个电子序列号模块.但不确定如何获得 Sim 详细信息.如果我无法从 MC35 获取设备序列号,我可以获取 IMEI 号码吗?

We have a large number of Window Mobile Devices (Symbol MC35 & MC70). I want to write a small app that gets the device serial number and simcard serial number (not phone number). I have tryed using the Symbol SDK and I can get the Device Serial Number for the MC70s as they have a Electronic Serial Number Module. But not sure how to get the Sim Details. If i am unable to get the Device Serial Number From the MC35s can I get the IMEI number?

这背后的目的是让我可以随时保持最新记录在什么手持设备中.我要将数据写入注册表文件,SOTI Mobile Control 将在该文件中将其链接到该手持设备.

The porpose behind this is so I can keep a upto date record of what sim is in what handheld as any time. I am going to write the data to a registy file where SOTI Mobile Control will link it to that handheld.

推荐答案

参见 此处用于 SIM 管理功能.如果存在这样的东西,我找不到任何用于检索 SIM ID 的东西.我想您可以通过电话号码识别 SIM 卡.两个不同的 SIM 卡可能有相同的电话号码吗?要获取电话号码,请使用 Windows Mobile SDK 中的 GetPhoneNumber 示例.

See here for SIM management functions. I can't find anything for retrieving a SIM ID, if such a thing exists. I suppose that you can identify the SIM by the phone number. Is it possible two different SIMs to have the same phone number? To get the phone number there is the GetPhoneNumber sample in the Windows Mobile SDK.

至于识别手机,正确的方法是读取设备 ID.同样,SDK 中有 GetDeviceID 示例(两者都在 Common\CPP\Win32 中).从示例的自述文件中复制:

As for identifying the phone, the correct way is to read the Device ID. Again there is the GetDeviceID sample in the SDK (Both are in Common\CPP\Win32). Copying from the sample's read me:

GetDeviceUniqueID 保护隐私的一个设备.多种应用需要使用设备的唯一要与之通信的标识符服务器.为了保护设备的隐私,多个服务器不应该能够关联来自相同的设备.GetDeviceUniqueID 确实不使用任何附加信息除了提供的数据通过应用程序,所以任何通过相同的应用程序应用程序数据缓冲区将获得相同的哈希值.这个API可以调用是任何应用程序,无论应用程序的信任级别.

GetDeviceUniqueID protects the privacy of a device. Multiple applications need to use a device's unique identifier to communicate with servers. To protect a device's privacy, multiple servers should not be able to correlate data from the same device. GetDeviceUniqueID does not use any additional information other than the data that is provided by the application, so any application that passes in the same application data buffer will obtain the same hash. This API can be called be any application regardless of the trust level of the application.

如果您想检索 IMEI,请参见例如 此处.

If you want to retrieve the IMEI, see for example here.

这篇关于WM 5 SDK 符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆