ARTICLE AD BOX
Before performing any operations using NCrypt APIs, I want to check if TPM is available and enabled for the machine. I couldn't find any APIs that does this. Can anyone please let me know how to achieve this?
I use NCryptOpenStorageProvider with MS_PLATFORM_CRYPTO_PROVIDER to load and initialize key storage provider. Is there specific error codes returned if TPM is unavailabe and disabled?
