I am in a little bit trouble. My requirements is I have two different certificates(one for Message, second for transport) from gateway. Now I want to know how can I use these two separate certificate in my application. I have used this code for setting the certificate in case of one certificate
objService.ClientCredentials.ClientCertificate.SetCertificate(StoreLocation.LocalMachine, StoreName.My, X509FindType.FindByThumbprint, "12 56 d5 7f 8c 8b a1 b8 e9 85 f8 2d 6c 6a 16 89 19 42 db a8");
Now, how can I use two certificate ??? very confused.
Thanks in advance.