Groups | Blog | Home
all groups > dotnet compact framework > november 2006 >

dotnet compact framework : ESN (Eletronic Serial Number) in C#


mmuzilli NO[at]SPAM gmail.com
11/13/2006 5:27:24 AM
Howdy all,

do you know how to get the ESN from a specific handheld?

TIA,

Marcelo Muzilli
Nino Benvenuti
11/13/2006 8:48:02 AM
I've seen varying results on CDMA devices, but performing a P/Invoke against
lineGetGeneralInfo[1] is a good place to start. In particular, the
dwSerialNumberOffset member of the LINEGENERALINFO[2] structure. You may
need to P/Invoke related functions, IIRC.

If this approach fails, you may wish to reach out to the hardware OEM.

hth,
Nino

[1]http://msdn2.microsoft.com/en-us/library/ms862517.aspx
[2]http://msdn2.microsoft.com/en-us/library/ms862476.aspx

--
Nino Benvenuti
Device Application Development MVP
http://nino.net/blog


[quoted text, click to view]
Bela Istok
11/13/2006 10:22:12 AM
Do you ask the provider, for the SDK of the handheld?

Regards,

Bela Istok
[quoted text, click to view]
AddThis Social Bookmark Button