??????????
????MD5??????????????????????棬?????????????????????Щ????????????????????MD5??????????????????????????????????????????????MD5?????????????MD5????????????MD5????б????????????????????????????????????????μ????????????????????????????????????????????????
?????????????????MD5?
????using System.Security.Cryptography;
????using System.Text;
????using(FileStream file = new FileStream(FilePath?? System.IO.FileMode.Open))
????{
????MD5 md5 = new MD5CryptoServiceProvider();
????byte[] YourFile = md5.ComputeHash(file);
????file.Close();
????StringBuilder FileMD5 = new StringBuilder();
????for (int i = 0; i < YourFile.Length; i++)
????{
????FileMD5.Append(YourFile[i].ToString("x2"));
????}
????FileMD5.ToString();
????}