Tuesday, 24 April 2007

How to get IMEI, SIM number, Operator and country


Whilst working on my current project I discovered how to get the following information out of Windows Mobile.
  • The Modem IMEI number
  • The SIM number (not the phone number)
  • The SIM operator
  • The SIM operator ID and cell country
These can all be obtained via TAPI. The IMEI and SIM number are available via the lineGetGeneralInfo API. These are returned as the SerialNumber and SubscriberNumber. The SIM operator, ID and cell country are returned by a call to the lineGetCurrentOperator API. Check out about more ExTAPI calls on MSDN here.

1 comment:

iddy said...

That is great, i am presently trying to obtian such information on a windows mobile 5 device, can you explain further on how you did it , and perhaps you can share your source code.

Thanks
iddy