How to catch the add/remove of an usb token

81 views Asked by At

I just want to know how (or if) can I get the event of removing of an usb token, via GetDriveType from Win32API, or anything like that. I'm using an ePass2003 and my program is developed in C#. One solution seems to be the usage of a process with opensc in a timer but maybe there is another way to do that. Many thanks.

0

There are 0 answers