CngKeyCreationParameters.Provider Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the key storage provider (KSP) to create a key in.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public CngProvider Provider { get; set; }

Property Value

Type: System.Security.Cryptography.CngProvider

An object that specifies the KSP that a new key will be created in.

Exception Condition

The Provider property is set to a null value.

.NET Framework
Available since 3.5
Return to top