Question

I need to develop a Windows driver that would emulate plugged smart card reader (so that Windows would show it on the list of plugged devices) and a smart card into them. Instead of this it would read/write data from/to file according to specific protocol.

What approach should I take to emulate a smart card reader and card?

Was it helpful?

Solution

It took a bit of searching, but I got it back. Please have a look at the article "An UMDF Driver for a Virtual Smart Card Reader". It's an excellent written article and actually provides the code as well.

http://www.codeproject.com/Articles/134010/An-UMDF-Driver-for-a-Virtual-Smart-Card-Reader

In short, it uses the User-Mode Driver Framework to create a "virtual" smart card driver. A simulator could be easily based on this.

Note that implementing the behavior of the simulated smart card depends on your needs.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top