Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CngProperty Constructor (String^, array<Byte>^, CngPropertyOptions)

 

Initializes a new instance of the CngProperty class.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public:
CngProperty(
	String^ name,
	array<unsigned char>^ value,
	CngPropertyOptions options
)

Parameters

name
Type: System::String^

The property name to initialize.

value
Type: array<System::Byte>^

The property value to initialize.

options
Type: System.Security.Cryptography::CngPropertyOptions

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

Exception Condition
ArgumentNullException

name is null.

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

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft