CngProperty Struct
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
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.
Cng |
Initializes a new instance of the CngProperty struct. |
Name |
Gets the property name that the current CngProperty object specifies. |
Options |
Gets the property options that the current CngProperty object specifies. |
Equals(Cng |
Compares the specified CngProperty object to the current CngProperty object. |
Equals(Object) |
Compares the specified object to the current CngProperty object. |
Get |
Generates a hash value for the current CngProperty object. |
Get |
Gets the property value that the current CngProperty object specifies. |
Equality(Cng |
Determines whether two CngProperty objects specify the same property name, value, and options. |
Inequality(Cng |
Determines whether two CngProperty objects do not specify the same property name, value, and options. |
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, 6, 7, 8, 9 |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: