How to identify is a certificate is in a smart card?
-
Hi All, How can we determine if a user-certificate is contained in a smartcard or if it is installed in the system itself? I wasn't able to find a .NET class that does this? Thanks in advance...
Sunil
There is no inbuilt class for smart card in .net , you have to use winscard.dll wrapper . go through the below link in CP A Smart Card Framework for .NET[^]
Rajesh B --> A Poor Workman Blames His Tools <--
-
Hi All, How can we determine if a user-certificate is contained in a smartcard or if it is installed in the system itself? I wasn't able to find a .NET class that does this? Thanks in advance...
Sunil
As much as i know even if a certificate comes in a card then also it has to be installed in your personal store. While reading the cetificate you need to insert the smart token in order to execute
ComputeSignature
. And if you set the silent parameter tofalse
while usingComputeSignature
it will automatically reads the card and asks for password for the certificate (if any).