Link to home
Start Free TrialLog in
Avatar of mvoronkin
mvoronkin

asked on

USB Flash Drive

Id like to use USB Flash Drive as some sort of key that protects my software from unauthorized use. That is the software will only run if flash drive I issue to the user is inserted into any USB port on the PC.
 
Is there any BIOS or firmware unique ID or date/time on any typical flash drive and which API can I use to read those?
 
Thank you.
Avatar of iHadi
iHadi
Flag of Syrian Arab Republic image

Hi mvoronkin
The following link retrieves the hardcoded sn of the usb flash drive:
http://www.codeproject.com/csharp/hard_disk_serialNo.asp

The limitation of using sn of a flash drive is that not all usb flash drives have sn.
ASKER CERTIFIED SOLUTION
Avatar of iHadi
iHadi
Flag of Syrian Arab Republic image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial