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 )
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 ?