CngProperty Construtores

Definição

Sobrecargas

CngProperty(String, Byte[], CngPropertyOptions)

Origem:
CngProperty.cs
Origem:
CngProperty.cs
Origem:
CngProperty.cs
Origem:
CngProperty.cs
Origem:
CngProperty.cs

Inicializa uma nova instância do CngProperty struct.

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)

Parâmetros

name
String

O nome da propriedade a inicializar.

value
Byte[]

O valor da propriedade a inicializar.

options
CngPropertyOptions

Uma combinação bit a bit dos valores de enumeração que especificam como a propriedade é armazenada.

Exceções

name é null.

Observações

Propriedades armazenadas com um conjunto específico de CngPropertyOptions flags requerem o mesmo conjunto de flags quando são recuperadas.

Aplica-se a

CngProperty(String, ReadOnlySpan<Byte>, CngPropertyOptions)

Origem:
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)

Parâmetros

name
String

Aplica-se a