CngProperty Structure

 

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

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

<HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort := True)>
Public Structure CngProperty
	Implements IEquatable(Of CngProperty)

NameDescription
System_CAPS_pubmethodCngProperty(String, Byte(), CngPropertyOptions)

Initializes a new instance of the CngProperty class.

NameDescription
System_CAPS_pubpropertyName

Gets the property name that the current CngProperty object specifies.

System_CAPS_pubpropertyOptions

Gets the property options that the current CngProperty object specifies.

NameDescription
System_CAPS_pubmethodEquals(CngProperty)

Compares the specified CngProperty object to the current CngProperty object.

System_CAPS_pubmethodEquals(Object)

Compares the specified object to the current CngProperty object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Generates a hash value for the current CngProperty object.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetValue()

Gets the property value that the current CngProperty object specifies.

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(CngProperty, CngProperty)

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

System_CAPS_puboperatorSystem_CAPS_staticInequality(CngProperty, CngProperty)

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

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.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: