GET IMEI from device

  • Thread starter Thread starter Armando Rocha
  • Start date Start date
http://www.malleswar.com/viewarticle.aspx?articleid=19

Hi,

How i get IMEI from a device running on windows mobile 5.

--
Armando Rocha
Mobile Developer

http://www.ifthensoftware.com
On Wednesday, April 30, 2008 6:58 AM srharton wrote:
You need to use the lineGetGeneralInfo procedure defined in cellcore.dll.

[DllImport("cellcore", SetLastError = true)]
extern public static int lineGetGeneralInfo(IntPtr hLine,
byte[] lpLineGeneralInfo);

Then inspect the SerialNumber parameter of the LINEGENERALINFO structure:
http://msdn.microsoft.com/en-us/library/ms862476.aspx
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"Armando Rocha" wrote:
Submitted via EggHeadCafe
Client-server autodiscovery in C# and UDP Sockets
http://www.eggheadcafe.com/tutorial...erver-autodiscovery-in-c-and-udp-sockets.aspx
 
Back
Top