CngPropertyOptions CngPropertyOptions CngPropertyOptions CngPropertyOptions Enum

定义

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

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

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

字段

CustomProperty CustomProperty CustomProperty CustomProperty 1073741824

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

None None None None 0

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

Persist Persist Persist 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.

适用于