Method Hash NamespaceMongoDB.Driver AssemblyMongoDB.Driver.dll Hash(string) Gets the MD5 hash of a string. public static string Hash(string text) Parameters text string The string to get the MD5 hash of. Returns string The MD5 hash.