CngPropertyOptions 枚举

定义

指定下一代加密技术 (CNG) 密钥属性选项。Specifies Cryptography Next Generation (CNG) key property options.

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

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

字段

CustomProperty 1073741824

属性不是由 CNG 指定的。The property is not specified by CNG. 使用此选项可避免将来的名称与 CNG 属性冲突。Use this option to avoid future name conflicts with CNG properties.

None 0

引用的属性没有任何选项。The referenced property has no options.

Persist -2147483648

应保持属性。The property should be persisted.

注解

这些选项用于初始化CngProperty对象, 然后在调用中SetProperty使用这些对象。These options are used to initialize CngProperty objects, which are then used in SetProperty calls. 使用GetProperty方法查询属性的值时, 还可以使用这些选项。You also use these options when you query for the value of properties with the GetProperty method.

必须对属性进行查询, CngPropertyOptions并将它们与一起存储。Properties must be queried with the CngPropertyOptions they are stored with. 否则, 将找不到它们。Otherwise, they will not be found.

适用于