Author: cesarito | Posted on: 11/15/2010 8:32:44 AM | Views : 2363

Hello,


I need to connect to a web service using a X509Certificate. I got it working with all the Certificates in the user store using:



X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser);             store.Open(OpenFlags.ReadOnly);X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
store.Open(OpenFlags.ReadOnly);



I want to allow only to read certificates that are fisically located in a smart card. Once again, i got it working using CAPICOM in this way:


CAPICOM.Store store = new CAPICOM.Store();
store.Open(CAPICOM.CAPICOM_STORE_LOCATION.CAPICOM ...

Go to the complete details ...