

First of all, you’re not supposed to use string.GetHashCode() (object.GetHashCode() to be exact) to store persistent hashes in databases or on file. The method is used mainly to generate hashes for Hashtables. And msdn documentation points out that hashes generated by object.GetHashCode may differ in different environments, machines, framework version etc.. All depends on the object and its implementation [...]