public static string GetBadMD5HashFromFile(string filePath) { if (!File.Exists(filePath)) { return(null); } return(SteamVR_Utils.GetBadMD5Hash(File.ReadAllText(filePath) + "foobar")); }
public static string GetBadMD5Hash(string usedString) { return(SteamVR_Utils.GetBadMD5Hash(Encoding.UTF8.GetBytes(usedString + "foobar"))); }