CngUIProtectionLevels Enumeration


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 Enumeration 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.

.NET Framework
Available since 3.5
Return to top