设备ID的标准格式是什么?

编程入门 行业动态 更新时间:2024-10-26 18:18:09
本文介绍了设备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的标准格式是什么?

本文发布于:2023-10-12 02:43:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1483537.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:格式   标准   设备   ID

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!