CngProperty Konstruktorer

Definition

Överlagringar

CngProperty(String, Byte[], CngPropertyOptions)

Källa:
CngProperty.cs
Källa:
CngProperty.cs
Källa:
CngProperty.cs
Källa:
CngProperty.cs
Källa:
CngProperty.cs

Initierar en ny instans av structen 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)

Parametrar

name
String

Egenskapsnamnet som ska initieras.

value
Byte[]

Egenskapsvärdet som ska initieras.

options
CngPropertyOptions

En bitvis kombination av uppräkningsvärdena som anger hur egenskapen lagras.

Undantag

name är null.

Kommentarer

Egenskaper som lagras med en specifik uppsättning CngPropertyOptions flaggor kräver samma uppsättning flaggor när de hämtas.

Gäller för

CngProperty(String, ReadOnlySpan<Byte>, CngPropertyOptions)

Källa:
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)

Parametrar

name
String

Gäller för