The enumProviders method enumerates all providers available on the computer for the specified ProviderType property. If that property has not been changed, then it has a default value of one, as set in the registry, meaning PROV_RSA_FULL for the default Microsoft Base Cryptographic Provider, is used to do the enumeration.
[VB] BSTR enumProviders ( DWORD dwIndex DWORD dwFlags ); [C++] HRESULT enumProviders ( DWORD dwIndex // in DWORD dwFlags // in BSTR* pbstrProvName // in );
Returns a BSTR containing the enumerated provider. When there are no more providers, the error ERROR_NO_MORE_ITEMS is returned.