CngProperty 构造函数

定义

重载

CngProperty(String, Byte[], CngPropertyOptions)

Source:
CngProperty.cs
Source:
CngProperty.cs
Source:
CngProperty.cs
Source:
CngProperty.cs
Source:
CngProperty.cs

初始化 结构的新实例 CngProperty

public:
 CngProperty(System::String ^ name, cli::array <System::Byte> ^ value, System::Security::Cryptography::CngPropertyOptions options);
public CngProperty(string name, byte[]? value, System.Security.Cryptography.CngPropertyOptions options);
public CngProperty(string name, byte[] value, System.Security.Cryptography.CngPropertyOptions options);
new System.Security.Cryptography.CngProperty : string * byte[] * System.Security.Cryptography.CngPropertyOptions -> System.Security.Cryptography.CngProperty
Public Sub New (name As String, value As Byte(), options As CngPropertyOptions)

参数

name
String

要初始化的属性名称。

value
Byte[]

要初始化的属性值。

options
CngPropertyOptions

枚举值的按位组合,指定属性的存储方式。

例外

namenull

注解

使用特定标志集 CngPropertyOptions 存储的属性在检索时需要相同的标志集。

适用于

CngProperty(String, ReadOnlySpan<Byte>, CngPropertyOptions)

Source:
CngProperty.cs
public:
 CngProperty(System::String ^ name, ReadOnlySpan<System::Byte> value, System::Security::Cryptography::CngPropertyOptions options);
public CngProperty(string name, ReadOnlySpan<byte> value, System.Security.Cryptography.CngPropertyOptions options);
new System.Security.Cryptography.CngProperty : string * ReadOnlySpan<byte> * System.Security.Cryptography.CngPropertyOptions -> System.Security.Cryptography.CngProperty
Public Sub New (name As String, value As ReadOnlySpan(Of Byte), options As CngPropertyOptions)

参数

name
String

适用于