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 How to read credentials from a SmartCard in c#. I need to write code to get all certificates from SmartCard without getting them from Personal store.
Can anyone help me on this?
Thanks a lot! Hai.