This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Retrieves the first or next types of cryptographic service provider (CSP) supported on the computer.
Used in a loop, this function retrieves in sequence all of the CSP types available on a computer.
Syntax
s = Crypto_EnumProviderTypes(nIndex)
Returns
Returns AS STRING
The name of selected cryptographic service providers types (CSPTs).
Parameters
Name |
Type |
Optional |
Meaning |
nIndex |
Numeric |
No |
A zero based index to the CSPTs list. |
Remarks
This functions is based on Microsoft's PROV_RSA_FULL Cryptographic Service Provider Type.
Restrictions
See also
Crypto_EnumProviders, Crypto_GetDefaultProvider, Crypto_GetProvidersCount
Examples
USES "Console"
Dim nCount As Long
Dim i As Long
nCount = Crypto_GetProviderTypesCount() - 1 ' zero based index
For i = 0 To nCount
PRINTL(format$(i+1, "00") + ") " + Crypto_EnumProviderTypes(i))
Next