JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
searching for ways to check if the card is inserted in smartcard reader
searching for ways to check if the card is inserted in smartcard reader
As far as I know, Mode of Enquiry is the only way to check if the card is inserted in the smart card reader.
Check if the card is in the reader at set intervals during a "while" circulation.
I've already browse the code of scuba. It also uses the same way to confirm the card and then sends CardEvent.
Is there any interrupt check methods?
For example, register a card change function. When the card is extracted from the reader, it can inform me. In this case, I needn't to write the while circulation. In my opinion, Mode of Enquiry is not an excellent method after all.
Check if the card is in the reader at set intervals during a "while" circulation.
I've already browse the code of scuba. It also uses the same way to confirm the card and then sends CardEvent.
Is there any interrupt check methods?
For example, register a card change function. When the card is extracted from the reader, it can inform me. In this case, I needn't to write the while circulation. In my opinion, Mode of Enquiry is not an excellent method after all.
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
- Contact:
Re: searching for ways to check if the card is inserted in smartcard reader
Use the SCardStatusChange function.
You can have a look at implementation of CardMonitor class in pyScard project.
The class CardMonitor detect card status changing and notice CardMonitorObservers.
pySCard based on PCSC functions, so, you can implement the monitor function with other lanaguage(s) which can use PCSC functions.
You can have a look at implementation of CardMonitor class in pyScard project.
The class CardMonitor detect card status changing and notice CardMonitorObservers.
pySCard based on PCSC functions, so, you can implement the monitor function with other lanaguage(s) which can use PCSC functions.
sense and simplicity
Who is online
Users browsing this forum: Bing [Bot] and 36 guests