This documentation is archived and is not being maintained.

CngKey.ExportPolicy Property

Gets the export policy that is used by the key.

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

public CngExportPolicies ExportPolicy { get; }

Property Value

Type: System.Security.Cryptography.CngExportPolicies
An object that specifies the export policy for the key.

The export policy controls the export frequency and format for the key.

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5