Q2 command

Feb 24, 2011 at 2:54 AM


Anyone have a sample C# code that connect to payShield 9000 and invoke Q2 command ? 

Please let me know.  Thank You.



Feb 24, 2011 at 6:26 AM

You can use this wiki article to connect to both the simulator and a real HSM. The code is VB but it's easily translated in C#.

Feb 25, 2011 at 2:52 AM

Thanks for replied to my question, it was very helpful.  One more question I hope you can help me.

I was able to send Q2 command code but how do I get Q3 response code ?  I used the send(....) command to send Q2, is there

a method to call Q3 so I can get the value back ?


Thank You,

Feb 26, 2011 at 12:20 PM

You should add code to the MessageArrived event handler to process the HSM reply.