CspProviderInfoCollectionGetProviderInfo(String) Method

Gets named registered Cryptographic Service Provider (CSP) or Key Storage Provider (KSP), its information and supported cryptographic algorithms.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public static CspProviderInfo GetProviderInfo(
	string name
)

Parameters

name  String
Cryptographic provider name.

Return Value

CspProviderInfo
Specified provider information. Method returns null if provider is not found.

Exceptions

PlatformNotSupportedException Current platform does not support key storage providers (prior to Windows Vista).

See Also