Hi,

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

--
Armando Rocha
Mobile Developer

http://www.ifthensoftware.com

RE: GET IMEI from device by srhartone

srhartone
Wed Apr 30 05:58:00 CDT 2008

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:

> Hi,
>
> How i get IMEI from a device running on windows mobile 5.
>
> --
> Armando Rocha
> Mobile Developer
>
> http://www.ifthensoftware.com