本文介绍了主板序列号的最大长度是多少?在位或字节?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 限时删除!! 亲爱的专家, 我正在开发许可证保护技术,我需要接收/传递PC /笔记本电脑/ MAC的唯一标识符。我选择主板序列号。作为唯一ID是明智的选择吗? 如果没有那么请建议。如果是,那么我需要知道它可以多长时间? 提前致谢。 我尝试了什么: 我尝试使用以下代码来获取主板序列号,我成功了但我不知道多少它可以更长或者它可以是什么类型的字符串? 函数getBoardBaseSerialNo() Dim baseNo As String Dim objs As Object Dim obj As Object Dim WMI As Object Dim sAns As字符串 WMI = GetObject(WinMgmts:) objs = WMI.InstancesOf(Win32_BaseBoard) For Each obj in objs sAns = sAns& obj.SerialNumber 如果sAns< objs.Count然后sAns = sAns& , 下一页 baseNo = sAns 返回baseNo 结束功能 返回:120801136603889Dear Experts,I am working on license protection technology, in which i need to take/pass unique identifier of PC/Laptop/MAC. I choose Motherboard serial number. Is it wise option to take as unique id?If not then please suggest. If yes then i need to know that how much long it can be?Thanks in advance.What I have tried:I tried following code to fetch Motherboard serial number, i successfully got but i don't know how much longer it can be or what type of string it can be? Function getBoardBaseSerialNo() Dim baseNo As String Dim objs As Object Dim obj As Object Dim WMI As Object Dim sAns As String WMI = GetObject("WinMgmts:") objs = WMI.InstancesOf("Win32_BaseBoard") For Each obj In objs sAns = sAns & obj.SerialNumber If sAns < objs.Count Then sAns = sAns & "," Next baseNo = sAns Return baseNo End FunctionIt Returns: 120801136603889推荐答案 这篇关于主板序列号的最大长度是多少?在位或字节?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的.. 09-08 13:30