public static string GetMd5HashString(string source)
        {
            byte[] sourcebytes = System.Text.ASCIIEncoding.ASCII.GetBytes(source);
            byte[] MD5bytes = null;            MD5 md5 = new MD5CryptoServiceProvider();md5c
            MD5bytes = md5.ComputeHash(sourcebytes);
            string strMd5 = "";
            for (int i = 0; i < MD5bytes.Length; i++)
            {
                if (MD5bytes[i] <= 15)
                    strMd5 += ("0" + MD5bytes[i].ToString("X"));
                else
                    strMd5 += MD5bytes[i].ToString("X");
            }
            return strMd5;
        }