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.​HashAlgorithmName
Assembly: System.Security.Cryptography
Specifies the name of a cryptographic hash algorithm.
Properties
public
string
Name
Gets the underlying string representation of the algorithm name.
Methods
public
bool
Equals​(object obj)
obj
The object to compare with the current instance.
Returns <see langword="true" /> if <paramref name="obj" /> is a <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> object and its <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> property is equal to that of the current instance. The comparison is ordinal and case-sensitive.
Returns a value that indicates whether the current instance and a specified object are equal.
public
bool
Equals​(HashAlgorithmName other)
other
The object to compare with the current instance.
Returns <see langword="true" /> if the <see cref="P:System.Security.Cryptography.HashAlgorithmName.Name" /> property of <paramref name="other" /> is equal to that of the current instance. The comparison is ordinal and case-sensitive.
Returns a value that indicates whether two <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> instances are equal.
public
int
GetHashCode​() Returns The hash code for the current instance, or 0 if no <paramref name="name" /> value was supplied to the <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> constructor.
Returns the hash code for the current instance.
public
string
ToString​() Returns The string representation of the current <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> instance.
Returns the string representation of the current <see cref="T:System.Security.Cryptography.HashAlgorithmName" /> instance.
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object