设备ID的标准格式是什么? [英] What is the standard format of Device ID?

查看:609
本文介绍了设备ID的标准格式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我试图锁定我的移动应用程序,除非用户输入产品密钥.
我不想使用静态序列号.我产生了一个动态序列号
从设备ID中获取信息,然后用户提交序列号即可获得产品密钥.

但是,我想知道设备ID格式是否在计算机之间更改.
我在Google中进行了搜索,但找不到我的问题的答案.

如果知道,请告诉我.

问候.

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.

推荐答案

如果将设备ID视为字符串,然后基于该ID生成密钥,那么如果使用不同的设备就不会有问题具有不同的设备ID格式.

而且在任何情况下,不同的供应商都将使用相似的格式是非常不可能的.
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.


为什么不从设备ID生成哈希,因此无论您使用哪种格式,格式都不会改变原始ID的格式?
Why not generate a hash from the device ID, so that your format doesn''t change regardless of the format of the original ID ?


这篇关于设备ID的标准格式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆