Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CngKeyCreationOptions Enumeration

 

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.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft