struct HashAlgorithmName

in global :: System . Security . Cryptography

Specifies the name of a cryptographic hash algorithm.


public HashAlgorithmName( string name )

Initializes a new instance of the structure with a custom name.

  • name The custom hash algorithm name.

public bool Equals( object obj )

Returns a value that indicates whether the current instance and a specified object are equal.

  • obj The object to compare with the current instance.
  • Returns if is a object and its property is equal to that of the current instance. The comparison is ordinal and case-sensitive.

public bool Equals( HashAlgorithmName other )

Returns a value that indicates whether two instances are equal.

  • other The object to compare with the current instance.
  • Returns if the property of is equal to that of the current instance. The comparison is ordinal and case-sensitive.

public static HashAlgorithmName MD5 { get; }

Gets a hash algorithm name that represents "MD5".

  • Returns A hash algorithm name that represents "MD5".

public string Name { get; }

Gets the underlying string representation of the algorithm name.

  • Returns The string representation of the algorithm name, or or if no hash algorithm is available.

public static bool op_Equality( HashAlgorithmName left, HashAlgorithmName right )

Determines whether two specified objects are equal.

  • left The first object to compare.
  • right The second object to compare.
  • Returns if both and have the same value; otherwise, .

public static bool op_Inequality( HashAlgorithmName left, HashAlgorithmName right )

Determines whether two specified objects are not equal.

  • left The first object to compare.
  • right The second object to compare.
  • Returns if both and do not have the same value; otherwise, .

public static HashAlgorithmName SHA1 { get; }

Gets a hash algorithm name that represents "SHA1".

  • Returns A hash algorithm name that represents "SHA1".

public static HashAlgorithmName SHA256 { get; }

Gets a hash algorithm name that represents "SHA256".

  • Returns A hash algorithm name that represents "SHA256".

public static HashAlgorithmName SHA384 { get; }

Gets a hash algorithm name that represents "SHA384".

  • Returns A hash algorithm name that represents "SHA384".

public static HashAlgorithmName SHA512 { get; }

Gets a hash algorithm name that represents "SHA512".

  • Returns A hash algorithm name that represents "SHA512".

public static HashAlgorithmName SHA3_256 { get; }

😔 No documentation found.

public static HashAlgorithmName SHA3_384 { get; }

😔 No documentation found.

public static HashAlgorithmName SHA3_512 { get; }

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public static bool TryFromOid( string oidValue, ref HashAlgorithmName value )

😔 No documentation found.

public static HashAlgorithmName FromOid( string oidValue )

😔 No documentation found.

public string ToString( )

😔 No documentation found.