Class HashCodeUtil
- Namespace
- PaintDotNet
- Assembly
- PaintDotNet.Fundamentals.dll
public static class HashCodeUtil
- Inheritance
-
HashCodeUtil
- Inherited Members
Methods
- CreateHashCodeDeterministic(string)
Creates a hash code that does not change across different runs of the application, unlike string.GetHashCode() which is randomized by default. This is useful for scenarios like serialization where we want the hash code to be consistent across runs.