How to retrieve certificates from a pfx file with c#?
You should be able to get a collection object containing the certs in your .pfx file by using the X509Certificate2Collection class… here’s some C# example code: string certPath = <YOUR PFX FILE PATH>; string certPass = <YOUR PASSWORD>; // Create a collection object and populate it using the PFX file X509Certificate2Collection collection = new X509Certificate2Collection(); … Read more