public static String GetHash(string IsoFile) { var IsoFileInfo = new FileInfo(IsoFile); return BitConverter.ToString(SHA1.Create().ComputeHash(Encoding.UTF8.GetBytes(IsoFileInfo.FullName + "_" + IsoFileInfo.Length))).Replace("-", ""); }