简体   繁体   English

来自C#的USB笔式驱动器识别器

[英]USB pen drive identifer from c#

I have a demo that runs off of a USB drive and I would like to prevent the simple case where some one copies the demo. 我有一个使用USB驱动器运行的演示,但我想避免出现简单的情况,即有人复制该演示。 I was thinking that I could just get something specific about the USB drive like manufacture,size, firmware version and or identifier. 我当时以为我可以得到有关USB驱动器的一些特定信息,例如制造商,尺寸,固件版本和/或标识符。 Since we are putting the demo together and sending it out it could be tied to a specific vendor for the drive. 由于我们将演示放在一起并发送出去,因此可以将其绑定到该驱动器的特定供应商。 I will probably be doing this using c#. 我可能会使用c#进行此操作。

Using this you can get the serialnumber for the USB-stick and can code that in the application: How to get serial number of USB-Stick in C# 使用此工具,您可以获得USB记忆棒的序列号,并可以在应用程序中对其进行编码: 如何在C#中获取USB记忆棒的序列号

But whatever you do, someone can use reflector or some other program and take away that check from your program. 但是无论您做什么,都可以使用反射器或其他程序来从您的程序中删除该检查。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM