CngKeyCreationOptions Enumeration
TOC
Collapse the table of content
Expand the table of content

CngKeyCreationOptions Enumeration

.NET Framework (current version)
 

Specifies options used for key creation.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum CngKeyCreationOptions

Member nameDescription
MachineKey

A machine-wide key is created.

None

No key creation options are used.

OverwriteExistingKey

The existing key is overwritten during key creation.

This type is used by the KeyCreationOptions property.

Universal Windows Platform
Available since 10
.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft