Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more: (untagged)
Dear All,

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


Regards,
Mohi
Posted
Comments
Sandeep Mewara 25-Jun-12 2:57am    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.

 
Share this answer
 
Comments
mvengaqua 25-Jun-12 3:06am    
i want the usb to be used with my software . I want to integrate the usb and my software.
Sergey Alexandrovich Kryukov 25-Jun-12 3:07am    
What does it mean?
--SA
OriginalGriff 25-Jun-12 3:35am    
Would you care to try explaining that in terms we can understand?
Remember that we can't see your screen, access your HDD, or read your mind - we only get what you specifically tell us!
Sergey Alexandrovich Kryukov 25-Jun-12 3:07am    
Right, my 5. This is how I understood this question in first place, but OP probably means something else. What?..
--SA
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.
 
Share this answer
 
Comments
mvengaqua 25-Jun-12 4:21am    
I have a dongle which is having a software. The software configures the dongle. Now i want this dongle to be used with my software. i have the dll of the dongle configuration. Please explain with some example (code)
You can install Windows XP USB edition, which gives more control in this type of scenario and is best option
 
Share this answer
 
Comments
mvengaqua 25-Jun-12 22:59pm    
Dear i have windows 7 Professional

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900