CngUIProtectionLevels CngUIProtectionLevels CngUIProtectionLevels CngUIProtectionLevels Enum

定义

指定用户界面 (UI) 提示方案中密钥的保护级别。Specifies the protection level for the key in user interface (UI) prompting scenarios.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class CngUIProtectionLevels
[System.Flags]
public enum CngUIProtectionLevels
type CngUIProtectionLevels = 
Public Enum CngUIProtectionLevels
继承
CngUIProtectionLevelsCngUIProtectionLevelsCngUIProtectionLevelsCngUIProtectionLevels
属性

字段

ForceHighProtection ForceHighProtection ForceHighProtection ForceHighProtection 2

每当密钥被访问时显示 UI 提示。A UI prompt is displayed every time the key is accessed.

None None None None 0

密钥被访问时不显示 UI 提示。No UI prompt is displayed when the key is accessed.

ProtectKey ProtectKey ProtectKey ProtectKey 1

在进程中密钥第一次被访问时显示 UI 提示。A UI prompt is displayed the first time the key is accessed in a process.

适用于