title: Open pfx certificate container in .NET
body: <p>Where can I find information on opening a PFX store which contains a certificate? I came across <a href="http://msdn.microsoft.com/en-us/library/ms867088.aspx" rel="nofollow">this</a>, however I am kind of loast at the PfxOpen Class.</p>
  
  <p>Edit - I have a pfx file exported with a private key. I am storing that in my database. I want to be able to open the pfx file and read information from the certificate contained in that pfx file, example the serial, expiration date etc.</p>