Reputation: 27156
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. I was thinking that I could just get something specific about the USB drive like manufacture,size, firmware version and or identifier. 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#.
Upvotes: 1
Views: 5451
Reputation: 11519
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#
But whatever you do, someone can use reflector or some other program and take away that check from your program.
Upvotes: 3