C# windows mobile device information

cdevicewindows-mobile

I have googled and searched after this topic, but could not find any good answer.

How can i get the imei for the phone, or at least a unique id. I am also interested in finding the phonenumber through the simcard. Right now im using the systemstate to get the owner's phonenumber, but that is only set if the owner has set it himself

Best Answer

If you really need the IMEI, have a look at this blog:

http://dotnetslackers.com/Community/blogs/ruslantrifonov/archive/2007/07/10/_2200_How-To_2200_-Series_3A00_-Retrieving-IMSI-and-IMEI-on-Windows-Mobile.aspx

it contains a download which demonstrates using lineGetGeneralInfo via TAPI to retrieve IMEI & IMSI.