J
Jimmy Ganatsios
I am trying to connect to a smart card using C#,
While trying to connect with the smart card I get a return value of
2148532241 which translates into the error:
"One or more of the supplied parameters values could not be properly
interpreted"
I haven't find a way to declare correctly ScardConnect. Currently, I am
using:
[DllImport("winscard.dll")]
public static extern int SCardConnect(int hContext, string
cReaderName,uint dwShareMode, uint dwPoutProtocol, out int phCard, out
int ActiveProtocol);
Moreover, I dont know what value 'uint dwPoutProtocol'
and 'out int ActiveProtocol' should have.
I am using Cryptoflex 8K smart card
I would be grateful if anyone could help me.
Thank you in advance.
Jimmy
While trying to connect with the smart card I get a return value of
2148532241 which translates into the error:
"One or more of the supplied parameters values could not be properly
interpreted"
I haven't find a way to declare correctly ScardConnect. Currently, I am
using:
[DllImport("winscard.dll")]
public static extern int SCardConnect(int hContext, string
cReaderName,uint dwShareMode, uint dwPoutProtocol, out int phCard, out
int ActiveProtocol);
Moreover, I dont know what value 'uint dwPoutProtocol'
and 'out int ActiveProtocol' should have.
I am using Cryptoflex 8K smart card
I would be grateful if anyone could help me.
Thank you in advance.
Jimmy