Crypto_GetProvidersCount

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Crypto >

Crypto_GetProvidersCount

 

Description

 

Returns the number of cryptographic service provider (CSP) currently available.

 

Syntax

 

n = Crypto_GetProvidersCount()

 

Returns

 

Number, number of cryptographic service providers found.

 

Remarks

 

This functions is based on Microsoft's Cryptographic Service Provider.

 

Restrictions

 

See also

 

Crypto_EnumProviders, Crypto_EnumProviderTypes, Crypto_GetDefaultProvider

 

Examples

 

Uses "Crypto"

 

msgBox 0, "Numbers of Cryptographic Service Provider found : " +

          Crypto_GetProvidersCount()