public static string GetMd5String(byte[] buffer)
{
System.Security.Cryptography.MD5 md5 = new System.Security.Cryptography.MD5CryptoServiceProvider();
byte[] retVal = md5.ComputeHash(buffer);
md5.Dispose();
return(BitConverter.ToString(retVal).Replace("-", ""));
}