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.

class System.​Security.​Cryptography.​CngAlgorithm

Assembly: System.Security.Cryptography

Inheritance: object → CngAlgorithm

Encapsulates the name of an encryption algorithm.

Properties

public string
Algorithm
Gets the algorithm name that the current <see cref="T:System.Security.Cryptography.CngAlgorithm" /> object specifies.

Methods

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