CngUIProtectionLevels Enumeration
Collapse the table of content
Expand the table of content

CngUIProtectionLevels Enumeration

.NET Framework (current version)

Specifies the protection level for the key in user interface (UI) prompting scenarios.

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)

public enum CngUIProtectionLevels

Member nameDescription

A UI prompt is displayed every time the key is accessed.


No UI prompt is displayed when the key is accessed.


A UI prompt is displayed the first time the key is accessed in a process.

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