Q2 command

Feb 24, 2011 at 1: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 5: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 1: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 11:20 AM

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