System.Security.Cryptography.MD5CryptoServiceProvider oMD5Hasher = new System.Security.Cryptography.MD5CryptoServiceProvider(); try { oFileStream = GetFileStream(pathName); arrbytHashValue = oMD5Hasher.ComputeHash(oFileStream); oFileStream.Close(); strHashData = System.BitConverter.ToString(arrbytHashValue); strHashData = strHashData.Replace("-", ""); } catch (System.Exception ex) { }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)