CngProperty Конструкторы

Определение

Инициализирует новый экземпляр класса CngProperty.

Перегрузки

Имя Описание
CngProperty(String, Byte[], CngPropertyOptions)

Инициализирует новый экземпляр CngProperty структуры.

CngProperty(String, ReadOnlySpan<Byte>, CngPropertyOptions)

CngProperty(String, Byte[], CngPropertyOptions)

Исходный код:
CngProperty.cs
Исходный код:
CngProperty.cs
Исходный код:
CngProperty.cs
Исходный код:
CngProperty.cs
Исходный код:
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

Побитовое сочетание значений перечисления, указывающее способ хранения свойства.

Исключения

name равно null.

Комментарии

Свойства, хранящиеся с определенным набором флагов, требуют того же набора CngPropertyOptions флагов при извлечении.

Применяется к

CngProperty(String, ReadOnlySpan<Byte>, CngPropertyOptions)

Исходный код:
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

Применяется к