CngProperty(String, Byte[], CngPropertyOptions) Konstruktor

Definition

Initialisiert eine neue Instanz der CngProperty-Struktur.

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)

Parameter

name
String

Der Eigenschaftenname, der initialisiert werden soll.

value
Byte[]

Der Wert, mit dem die Eigenschaft initialisiert werden soll.

options
CngPropertyOptions

Eine bitweise Kombination der Enumerationswerte, die angeben, wie die Eigenschaft gespeichert wird.

Ausnahmen

name ist null

Hinweise

Eigenschaften, die mit einem bestimmten Satz von CngPropertyOptions Flags gespeichert werden, erfordern den gleichen Satz von Flags, wenn sie abgerufen werden.

Gilt für: