摘要:
/// 获得指定文件的Hash值 /// 文件路径 /// public static string GetFileHash(string filePath) { var cpter = System.Security.Cryptography.MD5.Create(); return BitConverter.ToString(cpter.ComputeHash(System.IO.File.ReadAllBytes(filePath))).Replace("-", "").ToUpper(); } 阅读全文