CngProperty Constructeurs

Définition

Surcharges

CngProperty(String, Byte[], CngPropertyOptions)

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

Initialise une nouvelle instance du 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)

Paramètres

name
String

Nom de propriété à initialiser.

value
Byte[]

Valeur de propriété à initialiser.

options
CngPropertyOptions

Combinaison au niveau du bit des valeurs d’énumération qui spécifient la façon dont la propriété est stockée.

Exceptions

name a la valeur null.

Remarques

Les propriétés stockées avec un ensemble spécifique d’indicateurs nécessitent le même ensemble d’indicateurs CngPropertyOptions lorsqu’ils sont récupérés.

S’applique à

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)

Paramètres

name
String

S’applique à