An object-oriented programming language developed by Microsoft that can be used in .NET.
Hi @OSVBNET ,
The following link might be helpful.
X509Certificate2.Export(X509ContentType, String) Method
The contentType parameter accepts only the following values of the X509ContentType enumeration: Cert, SerializedCert, and Pkcs12. Passing any other value causes a CryptographicException to be thrown.
Best Regards.
Jiachen Li
----------
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.