示例#1
0
        public static string GetMTandGH(string platform, string codename, string card_secret)
        {
            long          sCardNum = ProvideCommon.GenerateIntID();
            StringBuilder sbText   = new StringBuilder();

            sbText.AppendFormat("{0}:", platform);
            sbText.AppendFormat("{0}:", card_secret);
            sbText.AppendFormat("{0}:", codename);
            sbText.AppendFormat("{0}", sCardNum);
            string sNewCode = ProvideCommon.MD5(sbText.ToString()) + codename + sCardNum;

            return(sNewCode);
        }