Sapphire IMEI Utility使您可以記錄國際移動(dòng)設(shè)備標(biāo)識(shí)(IEMI)或者國際移動(dòng)用戶標(biāo)識(shí)(IMSI)數(shù)字。這些數(shù)字可以用來追蹤哪些設(shè)備和SIM卡正在被哪個(gè)用戶使用。通過數(shù)據(jù)把這些數(shù)字用作設(shè)備的前綴,它還可以用來確認(rèn)設(shè)備內(nèi)的數(shù)據(jù)是否。Sapphire IMEI Utility可以從SmartPhone或者是PPC2002/2003手機(jī)版本設(shè)備中讀取IMEI和IMSI數(shù)字。
Sapphire IMEI Utility enables you to record the device's International Equipment Identifier (IEMI) or International Subscriber Identity (IMSI) numbers. These numbers can be used to track what device and SIM card are being used by which user. It can also be used to ensure that the data on the device is kept unique by using the number as a device prefix within your data. The Sapphire IMEI Utility allows both the IMEI and IMSI numbers to be read from SmartPhone and PPC2002/2003 Phone Edition devices.
需要培訓(xùn)、定制、外包?
請(qǐng)聯(lián)系我們!:800018081
慧都專業(yè)技術(shù)團(tuán)隊(duì)幫助您提高效率,節(jié)省成本,降低風(fēng)險(xiǎn)!
* 關(guān)于本產(chǎn)品的分類與介紹僅供參考,精準(zhǔn)產(chǎn)品資料以介紹為準(zhǔn),如需購買請(qǐng)先行測(cè)試。
如果您在SmartPhone或者Pocket PC手機(jī)版本設(shè)備上開發(fā)應(yīng)用程序,您也許希望能夠記錄下設(shè)備的國際移動(dòng)設(shè)備標(biāo)識(shí)(IEMI)或者國際移動(dòng)用戶標(biāo)識(shí)(IMSI)數(shù)字。這些數(shù)字可以被用來追蹤哪些設(shè)備和SIM卡正在被哪個(gè)用戶使用。
Sapphire IMEI Utility可以從SmartPhone或者是PPC2002/2003手機(jī)版本設(shè)備中讀取IMEI和IMSI數(shù)字.
實(shí)例代碼:
該操作是如此簡(jiǎn)單的,您只需在您的程序中聲明相應(yīng)的DLL函數(shù),然后在您需要的地方調(diào)用即可。下面的示例說明了在VB.NET里讀取設(shè)備的IMEI數(shù)字。
Public Function IMEI(ByVal lDeviceID As Integer) As String
Dim sIMEIStore As String
Dim hInstance As Integer
sIMEIStore = Space(100)
sIMEI(sIMEIStore, hInstance, lDeviceID, SapphireIMEILicence)
IMEI = StripString(sIMEIStore)
End Function
Dim sIMEI As String
Dim lDeviceID As Integer
For lDeviceID = 0 To 10
lblDeviceID.Text = "Device ID is " & lDeviceID
lblDeviceID.Update()
sIMEI = IMEI(lDeviceID)
If Len(sIMEI) >= 15 Then
sIMEI = Mid(sIMEI, 1, 15)
lblIMEI.Text = "IMEI Number is " & sIMEI
lblIMEI.Update()
Exit For
End If
Next lDeviceID
If you are rolling out your application on Smartphone or Pocket PC phone edition devices, you may wish to record the device’s International Equipment Identifier (IEMI) or International Subscriber Identity (IMSI) numbers.
These numbers can be used to track what device and SIM card are being used by which user. It can also be used to ensure that the data on the device is kept unique by using the number as a device prefix within your data.
The Sapphire IMEI Utility allows both the IMEI and IMSI numbers to be read from SmartPhone and PPC2002/2003 Phone Edition devices.Sample Code Implementation couldn’t be easier, simply declare the DLL function as a function within your application and call it as though you wrote it yourself. Here’s a sample demo to how to retrieve the device’s IMEI number within VB.NET.
Public Function IMEI(ByVal lDeviceID As Integer) As String
Dim sIMEIStore As String
Dim hInstance As Integer
sIMEIStore = Space(100)
sIMEI(sIMEIStore, hInstance, lDeviceID, SapphireIMEILicence)
IMEI = StripString(sIMEIStore)
End Function
Dim sIMEI As String
Dim lDeviceID As Integer
For lDeviceID = 0 To 10
lblDeviceID.Text = "Device ID is " & lDeviceID
lblDeviceID.Update()
sIMEI = IMEI(lDeviceID)
If Len(sIMEI) >= 15 Then
sIMEI = Mid(sIMEI, 1, 15)
lblIMEI.Text = "IMEI Number is " & sIMEI
lblIMEI.Update()
Exit For
End If
Next lDeviceID