如何使用电脑的HD序列号制作应用序列号? [英] How do I make an app serial number using the pc's HD serial number?
本文介绍了如何使用电脑的HD序列号制作应用序列号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个唯一的序列号,使用操作系统安装日期和硬盘唯一信息
(序列号,日期..)为ac#forms app?
我尝试过:
//无法安装windir中的日期表单文件
// priv required
i wanna create a unique serial number , using OS install date and Hard drive unique info
(serial , date ..) for a c# forms app ?
What I have tried:
//Can't get the install date form files in windir
//priv required
推荐答案
不要。请改用处理器序列号:硬盘驱动器(和Windows安装)磨损,必须不时更换。通过更换组件限制您的应用程序,或者更糟糕的是,在没有用户需要知道的情况下由Microsoft自动升级的应用程序不会让您重复业务...
您可以非常轻松地获得处理器序列:获取硬件序列号。 [ ^ ]
Don't. Use the Processor serial number instead: hard drives (and Windows installations) wear out, and have to be replaced from time to time. Limiting your app via a replacem]bl;e component, or worse, one that automatically gets upgraded by Microsoft without the user needing to know is not going to get you repeat business...
You can get the processor serial pretty easily: Getting Hardware Serial Number.[^]
这篇关于如何使用电脑的HD序列号制作应用序列号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文