How to write a simple USB driver for a hardware copyright protection key?

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

OS: Windows

I run my application with my USB driver, and I plug in my USB flash drive and its displays in Explorer that this drive is connected and it is accessible, while this is happening, my application checks this data.txt EXIST file if this file yes, the program starts the next function, if not the program, my program starts / quits /!

+6
c windows usb driver
source share
2 answers

If you are looking for a programmable USB key, I suggest checking out this stream of SO: Programmable USB keys

+2
source share

The Windows Driver Kit should simplify your work, or at least help you get started.

+1
source share

All Articles