Background:
I'm creating a Windows 10 Universal App which reads some data from smart card (inserted into smart card reader) and it is working properly, but in all cases, the user should trigger the process to read data from card.
Question:
How can I handle the 'Card Inserted Event' in UWP, so I can read data from card each time after it is inserted?
I am not familiar with UWP but i found this example.
It creates a smartcard reader instance:
and adds a
CardAdded
handler to it:The
HandlerCardAdded
looks like this:Hope this helps you a little.