2013年8月15日
摘要: /// 获得指定文件的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(); } 阅读全文
posted @ 2013-08-15 10:49 武胜-阿伟 阅读(220) 评论(0) 推荐(0) 编辑