views:

2245

answers:

2

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#.

A: 

Check this other SO question out. This appears to provide you with the manufacture details.

Macka
+3  A: 

Using this you can get the serialnumber for the USB-stick and can code that in the application: http://stackoverflow.com/questions/450009/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.

Stefan
The average "Joe" is going to have a lot of problems trying to run a copied demo.
backslash17