CngProperty Constructors

Definition

Overloads

CngProperty(String, Byte[], CngPropertyOptions)

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

Initializes a new instance of the 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)

Parameters

name
String

The property name to initialize.

value
Byte[]

The property value to initialize.

options
CngPropertyOptions

A bitwise combination of the enumeration values that specify how the property is stored.

Exceptions

name is null.

Remarks

Properties that are stored with a specific set of CngPropertyOptions flags require the same set of flags when they are retrieved.

Applies to

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)

Parameters

name
String

Applies to