CngProperty CngProperty CngProperty CngProperty Struct

Definition

Encapsulates a property of a Cryptography Next Generation (CNG) key or provider.

public value class CngProperty : IEquatable<System::Security::Cryptography::CngProperty>
public struct CngProperty : IEquatable<System.Security.Cryptography.CngProperty>
type CngProperty = struct
Public Structure CngProperty
Implements IEquatable(Of CngProperty)
Inheritance
CngPropertyCngPropertyCngPropertyCngProperty
Implements

Remarks

This class encapsulates a property name (a string), a value (byte array), a CngPropertyOptions flag, accessor properties, and comparison and hashing functions.

This class is used with the SetProperty and GetProperty methods.

Constructors

CngProperty(String, Byte[], CngPropertyOptions) CngProperty(String, Byte[], CngPropertyOptions) CngProperty(String, Byte[], CngPropertyOptions) CngProperty(String, Byte[], CngPropertyOptions)

Initializes a new instance of the CngProperty class.

Properties

Name Name Name Name

Gets the property name that the current CngProperty object specifies.

Options Options Options Options

Gets the property options that the current CngProperty object specifies.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Compares the specified object to the current CngProperty object.

Equals(CngProperty) Equals(CngProperty) Equals(CngProperty) Equals(CngProperty)

Compares the specified CngProperty object to the current CngProperty object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Generates a hash value for the current CngProperty object.

GetValue() GetValue() GetValue() GetValue()

Gets the property value that the current CngProperty object specifies.

Operators

Equality(CngProperty, CngProperty) Equality(CngProperty, CngProperty) Equality(CngProperty, CngProperty) Equality(CngProperty, CngProperty)

Determines whether two CngProperty objects specify the same property name, value, and options.

Inequality(CngProperty, CngProperty) Inequality(CngProperty, CngProperty) Inequality(CngProperty, CngProperty) Inequality(CngProperty, CngProperty)

Determines whether two CngProperty objects do not specify the same property name, value, and options.

Applies to