Cryptoki Attach method error

2/16/2011 10:07:58 AM
Gravatar
Total Posts 1

Cryptoki Attach method error

Hi,

I want to test NCryptoki library. So i have downloaded NCryptoki v.1.4.5.3 full package from your site. When i want to call Attach method of Cryptoki class error occured described below:

Unable to cast object of type 'Cryptware.NCryptokiMngd' to type 'Cryptware.NCryptoki.INCryptokiMngd'.

I use Microsoft Visual Studio  2008, OS: Windos 7. As smartcard i use ePass3000 token from Feitian technologies. I've added NCryptokiMngd.dll and NCryptoki.dll as reference to project.

Example code:

Cryptware.NCryptoki.Cryptoki cr = new Cryptware.NCryptoki.Cryptoki();

cr.Attach(@"C:\Windows\System32\ngp11v211.dll");

 

Thanks in advance

 

2/16/2011 11:49:38 AM
Gravatar
Total Posts 300
Ugo Chirico http://www.ugochirico.com

Re: Cryptoki Attach method error

Hi,

I found some issues on the version 1.4.5.3 so, by now, I had to come back to the stable version 1.4.5.1.

I just finished to update the website coming back to 1.4.5.1

Please go in the download section and download that version that works correctly.

 

let me know...

Regards,

Ugo Chirico
http://www.cryptware.com