Click here to Skip to main content
15,902,114 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am trying to lock my mobile application unless user enters the product key.
I don't want to use a static Serial Number. I produce a dynamic serial number
from the Device ID and then user gets the product key with submitting the serial.

However, I would like to know if Device ID format changes from machine to machine.
I performed a search in google but I couldn't find an answer to my question.

If you know, would you please let me know.

Regards.
Posted

If you treat the device id as a string of characters, and then generate a key based on that, then it would not be a problem if different devices had different device id formats.

And in any case it would be quite improbable that different vendors would use a similar format.
 
Share this answer
 
v2
Why not generate a hash from the device ID, so that your format doesn't change regardless of the format of the original ID ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900