CngKeyCreationParameters.Provider Property

Definition

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

public:
 property System::Security::Cryptography::CngProvider ^ Provider { System::Security::Cryptography::CngProvider ^ get(); void set(System::Security::Cryptography::CngProvider ^ value); };
public System.Security.Cryptography.CngProvider Provider { get; set; }
member this.Provider : System.Security.Cryptography.CngProvider with get, set
Public Property Provider As CngProvider

Property Value

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

Exceptions

The Provider property is set to a null value.

Applies to