CngKeyCreationParameters.ExportPolicy Property

Definition

Gets or sets the key export policy.

public:
 property Nullable<System::Security::Cryptography::CngExportPolicies> ExportPolicy { Nullable<System::Security::Cryptography::CngExportPolicies> get(); void set(Nullable<System::Security::Cryptography::CngExportPolicies> value); };
public System.Security.Cryptography.CngExportPolicies? ExportPolicy { get; set; }
member this.ExportPolicy : Nullable<System.Security.Cryptography.CngExportPolicies> with get, set
Public Property ExportPolicy As Nullable(Of CngExportPolicies)

Property Value

An object that specifies a key export policy. The default value is null, which indicates that the key storage provider's default export policy is set.

Remarks

For information about key export policies, see the CngExportPolicies class.

Applies to