title: Read certificates on Smartcard
body: <p>I want to use .NET Api to get list of certificates on SmartCard. I known that the certificates on Smartcard are loaded in to Personal store. However, I want to write a program that runs before users login (I added button on Windows login screen to open my program). Because user is not logged in, certificates on Smartcard are not loaded in to Personal store. That's why I cannot use the solution in this question <a href="https://stackoverflow.com/questions/11791036/how-to-read-credentials-from-a-smartcard-in-c-sharp">How to read credentials from a SmartCard in c#</a>. I need to write code to get all certificates from SmartCard without getting them from Personal store.</p>
  
  <p>Can anyone help me on this?</p>
  
  <p>Thanks a lot!
  Hai.</p>