By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,727 Members | 1,165 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,727 IT Pros & Developers. It's quick & easy.

problem with C# and CAPICOM-Interop

P: n/a
Hi, I'm using interop-Capicom in my C# application, but when I try to use
the CAPICOM_SMART_CARD_USER_STORE flag the following exception raises:

The system cannot find the file specified.
at CAPICOM.StoreClass.Open(CAPICOM_STORE_LOCATION StoreLocation, String
Store
Name, CAPICOM_STORE_OPEN_MODE OpenMode)
at sugef.sicveca.capaPresentacion.windows.FindCertnet .Main(String[] args)
in
d:\documents and settings\mrodriguez\my documents\visual studio
projects\capicom
\class1.cs:line 33

Any idea why ? This is the code:

//oStore.Open(CAPICOM_STORE_LOCATION.CAPICOM_CURRENT _USER_STORE,storeName,0)
;
oStore.Open(CAPICOM_STORE_LOCATION.CAPICOM_SMART_C ARD_USER_STORE,storeName,0
);

oCerts = (Certificates)oStore.Certificates;
oCerts = oCerts.Select("Lista de Certificados Disponibles","Seleccione el
certificado a utilizar para la firma",false);
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.