NonCryptographicHashAlgorithm.GetHashCode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.