Edit

Share via


NonCryptographicHashAlgorithm.GetHashCode Method

Definition

Caution

Use GetCurrentHash() to retrieve the computed hash code.

This method is not supported and should not be called. Call GetCurrentHash() or GetHashAndReset() instead.

public:
 override int GetHashCode();
[System.Obsolete("Use GetCurrentHash() to retrieve the computed hash code.", true)]
public override int GetHashCode ();
[<System.Obsolete("Use GetCurrentHash() to retrieve the computed hash code.", true)>]
override this.GetHashCode : unit -> int
Public Overrides Function GetHashCode () As Integer

Returns

This method will always throw a NotSupportedException.

Attributes

Exceptions

In all cases.

Applies to