Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

struct System.​Security.​Cryptography.​CngProperty

Assembly: System.Security.Cryptography

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

Properties

public string
Name
Gets the property name that the current <see cref="T:System.Security.Cryptography.CngProperty" /> object specifies.
Options
Gets the property options that the current <see cref="T:System.Security.Cryptography.CngProperty" /> object specifies.

Methods

public bool
Equals​(object obj)
obj An object to be compared to the current <see cref="T:System.Security.Cryptography.CngProperty" /> object.
Returns <see langword="true" /> if the <paramref name="obj" /> parameter is a <see cref="T:System.Security.Cryptography.CngProperty" /> object that specifies the same property as the current object; otherwise, <see langword="false" /> .
Compares the specified object to the current <see cref="T:System.Security.Cryptography.CngProperty" /> object.
public bool
Equals​(CngProperty other)
other An object to be compared to the current <see cref="T:System.Security.Cryptography.CngProperty" /> object.
Returns <see langword="true" /> if the <paramref name="other" /> parameter represents the same property as the current object; otherwise, <see langword="false" /> .
Compares the specified <see cref="T:System.Security.Cryptography.CngProperty" /> object to the current <see cref="T:System.Security.Cryptography.CngProperty" /> object.
public int
GetHashCode​()
Returns The hash value of the current <see cref="T:System.Security.Cryptography.CngProperty" /> object.
Generates a hash value for the current <see cref="T:System.Security.Cryptography.CngProperty" /> object.
public byte[]
GetValue​()
Returns An array that represents the value stored in the property.
Gets the property value that the current <see cref="T:System.Security.Cryptography.CngProperty" /> object specifies.
public string
ToString​()
Inherited from ValueType
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object