Pergunta

I am writing a windows service which can be triggered whenever a new certificate is added to the MY certificate store. It then opens the certificate store through this service and carries out some actions.

Is there a way to implement a callback function in the service/application which can be called by the crypto APIs when applications like mmc.exe or certreq.exe request and install a new certificate in the certificate store?

Foi útil?

Solução

Found an alternative. MY cert store certificates are written in

C:\Users\username\AppData\Roaming\Microsoft\SystemCertificates\My\Certificates

Now using a directory event watcher to view newly installed certificates.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top