Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write a simple usb driver for a hardware copyright protection dongle?

I want to create a USB driver, so my own C application to be able to get into my flash drive and take information from the imported flash drive.

OS: Windows

I start my app contains my USB driver and I plug-in my flash and its shows in Explorer that this drive is plugged and it is accessible, while that's happening, my app is checking that file data.txt EXIST if that file exist, program run next function, if not program, my program runs down/exit/!

like image 517
ScReYm0 Avatar asked Apr 27 '10 09:04

ScReYm0


2 Answers

If you are looking for a programmable USB dongle, I suggest inspecting this SO thread: Programmable USB dongles

like image 192
Jim Burger Avatar answered Oct 20 '22 17:10

Jim Burger


The Windows Driver Kit should simplify your work or atleast help you at the start.

like image 22
scable Avatar answered Oct 20 '22 18:10

scable