Hello,
I am developing a C# digital signature application using the test <span data-scayt_word="NCryptoki" data-scaytid="10">NCryptoki API.
I would like to know if there is a way to know if a <span data-scayt_word="smartcard" data-scaytid="16">smartcard has been inserted or removed. Is there a callback that can be used to accomplish this target? Or is it necessary to use a timer to verify if a card is present or not?
Thank you very much for your help.
Stefano <span data-scayt_word="Zabucchi" data-scaytid="41">Zabucchi.
You can use the method Cryptoki.WaitForSlotEvent as described in the documentation:
http://www.cryptware.com/apidoc/ncryptoki/html/M_Cryptware_NCryptoki_Cryptoki_WaitForSlotEvent_1_cd2d7ec9.htm