Thank you Elrick . But it does not work on my device (Imate) . One error message comes "An error occured on sub_app_start. An error message can not be displayed because an optional resource assembly containing it cannot be found . Continue ?" . Why so ?
You should use "db2000 GetInfoDevice.zip" from post #13, if you don't. If you use it and it still don't work - it's better to ask maXim (because he made this lib) or agraham (because he is agraham )
You can also try to get the MAC Address form the device....See Agraham's dll on the OpenNet thread on the chitchat....
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate) B4PPC DLL Version Listing - B4Android DLL Version Listing
Temporarily I am using Hardware.dll's device Id for protecting my application . After getting device id i save it as string in application . While running application first check the device id and the saved string and if both are matching then application runs . But why Icant get the imei ?
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate) B4PPC DLL Version Listing - B4Android DLL Version Listing