Exemplo n.º 1
0
        /// <summary>Save the ".md5" file that lists the md5sum of another file.</summary>
        /// <param name="dataFile">the original file whose md5 was computed</param>
        /// <param name="digest">the computed digest</param>
        /// <exception cref="System.IO.IOException"/>
        public static void SaveMD5File(FilePath dataFile, MD5Hash digest)
        {
            string digestString = StringUtils.ByteToHexString(digest.GetDigest());

            SaveMD5File(dataFile, digestString);
        }