摘要:
//需要引用的命名空间using System.IO;using System.Security.Cryptography;//获取文件的MD5码public static string CretaeMD5(string fileName) { string hashStr = string.Empty; try { FileStream fs = new FileStream( fileName, FileMode.Open, FileAccess.Read, FileShare.Read); MD5CryptoServiceProvider md5 = new MD5CryptoServi 阅读全文