CngKeyCreationOptions 列舉

定義

指定用來建立金鑰的選項。

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

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

欄位

名稱 Description
MachineKey 32

會建立整部電腦的金鑰。

None 0

未使用金鑰建立選項。

OverwriteExistingKey 128

現有的金鑰已在金鑰建立期間覆寫。

PreferVbs 65536
RequireVbs 131072
UsePerBootKey 262144

備註

屬性會使用此 KeyCreationOptions 類型。

適用於

產品 版本
.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