USB作为我的软件的密钥 [英] USB as key for my software

查看:72
本文介绍了USB作为我的软件的密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我想使用USB作为软件的密钥.请让我知道该怎么做?


问候,
Mohi

Dear All,

I want to use USB as key for my software. Please let me know how to do it?


Regards,
Mohi

推荐答案

首先找到您喜欢的加密狗:Google可以提供帮助.
https://www.google.co.uk/search?aq=f&sugexp=chrome,mod=7&sourceid=chrome&ie=UTF-8&q=usb+protection+dongle [
Start by finding a dongle you like: Google can help.
https://www.google.co.uk/search?aq=f&sugexp=chrome,mod=7&sourceid=chrome&ie=UTF-8&q=usb+protection+dongle[^]


如果您要使用某些USB设备作为加密狗,则可以从中读取一些数据(例如,供应商ID和产品ID)使用WMI,加密"该信息(使用公钥/私钥对进行散列或真实加密),并将其存储在软件中的某个位置.然后,您的软件可以检查是否存在USB设备,并做出相应的反应.
尽管无法简单地复制该USB记忆棒,但是同一型号的另一个标本会假装"为正确的标本-您可以尝试通过使用品牌设备隐藏该信息.
In case you want to use some USB device as your dongle, you can read some data from it (e.g. vendor id and product id) using WMI, "encrypt" that information (hashed, or real encryption using a public-private pair of keys) and store it somewhere in your software. Then your software can check if that USB device is present, and react accordingly.
Though that USB stick cannot be simply copied, another specimen of the same model will "pretend" to be the correct one - you could try to hide that information by bying branded devices.


您可以安装Windows XP USB版本,可以在这种情况下提供更多控制,是最佳选择
You can install Windows XP USB edition, which gives more control in this type of scenario and is best option


这篇关于USB作为我的软件的密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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