Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
CngProperty Struct
Definition
- Namespace:
- System.Security.Cryptography
- Assembly:
- System.Security.Cryptography.dll
- Assembly:
- System.Security.Cryptography.Cng.dll
- Assemblies:
- System.Security.Cryptography.dll, System.Security.Cryptography.Cng.dll
- Assembly:
- System.Core.dll
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
- Source:
- CngProperty.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Implements
Remarks
This struct encapsulates a property name (a string), a value (byte array), a CngPropertyOptions flag, accessor properties, and comparison and hashing functions.
This struct is used with the SetProperty and GetProperty methods.
Constructors
| Name | Description |
|---|---|
| CngProperty(String, Byte[], CngPropertyOptions) |
Initializes a new instance of the CngProperty struct. |
| CngProperty(String, ReadOnlySpan<Byte>, CngPropertyOptions) | |
Properties
| Name | Description |
|---|---|
| Name |
Gets the property name that the current CngProperty object specifies. |
| Options |
Gets the property options that the current CngProperty object specifies. |
Methods
| Name | Description |
|---|---|
| Equals(CngProperty) |
Compares the specified CngProperty object to the current CngProperty object. |
| Equals(Object) |
Compares the specified object to the current CngProperty object. |
| GetHashCode() |
Generates a hash value for the current CngProperty object. |
| GetValue() |
Gets the property value that the current CngProperty object specifies. |
Operators
| Name | Description |
|---|---|
| Equality(CngProperty, CngProperty) |
Determines whether two CngProperty objects specify the same property name, value, and options. |
| Inequality(CngProperty, CngProperty) |
Determines whether two CngProperty objects do not specify the same property name, value, and options. |
Applies to
Feedback
Was this page helpful?
