title: How to read X509 Signing Certificate content from string in .net?
body: <p>I have X509 Signing Certificate inside of a string like:</p>
  
  <pre><code>var signingCertificate = -----BEGIN CERTIFICATE-----\r\nMIICTjCCAbegAw.........-----END CERTIFICATE-----
  </code></pre>
  
  <p>Now I want to read the content of this certificate. i know we can do it using X509Certificate2 object but that reads from file directly. Is there anyway to read the content from string?</p>