CngUIProtectionLevels CngUIProtectionLevels CngUIProtectionLevels CngUIProtectionLevels Enum


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.

public enum class CngUIProtectionLevels
public enum CngUIProtectionLevels
type CngUIProtectionLevels = 
Public Enum CngUIProtectionLevels


ForceHighProtection ForceHighProtection ForceHighProtection ForceHighProtection 2

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

None None None None 0

No UI prompt is displayed when the key is accessed.

ProtectKey ProtectKey ProtectKey ProtectKey 1

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

Applies to