CngPropertyOptions 列舉

定義

指定 Cryptography Next Generation (CNG) 金鑰屬性的選項。

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

public enum class CngPropertyOptions
[System.Flags]
public enum CngPropertyOptions
[<System.Flags>]
type CngPropertyOptions = 
Public Enum CngPropertyOptions
繼承
CngPropertyOptions
屬性

欄位

CustomProperty 1073741824

屬性不是由 CNG 指定。 使用這個選項可避免未來命名與 CNG 屬性發生衝突。

None 0

參考的屬性沒有選項。

Persist -2147483648

屬性應該是持續的。

備註

這些選項是用來初始化 CngProperty 物件,然後用於 SetProperty 呼叫。 當您使用 GetProperty 方法查詢屬性的值時,也會使用這些選項。

屬性必須使用儲存的屬性進行查詢 CngPropertyOptions 。 否則,將無法找到它們。

適用於