M
Mario Rodriguez
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_CARD_USER_STORE,storeName,0
);
oCerts = (Certificates)oStore.Certificates;
oCerts = oCerts.Select("Lista de Certificados Disponibles","Seleccione el
certificado a utilizar para la firma",false);
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_CARD_USER_STORE,storeName,0
);
oCerts = (Certificates)oStore.Certificates;
oCerts = oCerts.Select("Lista de Certificados Disponibles","Seleccione el
certificado a utilizar para la firma",false);