K
kazuser
Guest
Restarting the service after opening the provider breaks the connection and forces you to restart the entire application. Step by step: Open the provider NCryptOpenStorageProvider(myProvider, MS_KEY_STORAGE_PROVIDER, 0) — will be "00000000" (ERROR_SUCCESS) Restart the CNG Key Isolation service Reopen the provider NCryptOpenStorageProvider(myProvider, MS_KEY_STORAGE_PROVIDER, 0) — will be "80070006" (ERROR_INVALID_HANDLE) How to properly reopen the provider after restarting the service without restarting the application?
Continue reading...
Continue reading...