CngUIProtectionLevels 列舉

定義

在使用者介面 (UI) 提示案例中指定金鑰的保護層級。

此列舉支援其成員值的位元組合。

C#
[System.Flags]
public enum CngUIProtectionLevels
繼承
CngUIProtectionLevels
屬性

欄位

名稱 Description
ForceHighProtection 2

UI 提示會在每次存取金鑰時顯示。

None 0

存取金鑰時不會顯示 UI 提示。

ProtectKey 1

UI 提示會在第一次於處理序中存取金鑰時顯示。

適用於

產品 版本
.NET Core 1.0, Core 1.1, 6, 7, 8, 9
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
Windows Desktop 3.0, 3.1, 5