Esempio n. 1
0
        public static string OutputCheckSum(string m_Url, int m_Version)
        {
            string text = string.Empty;
            CheckSum sum = new CheckSum();
            switch (m_Version)
            {
                case 0:
                    return sum.CalculateChecksumOld(m_Url);

                case 1:
                    return sum.CalculateChecksum(m_Url);
            }
            return text;
        }
Esempio n. 2
0
        public static string OutputCheckSum(string m_Url, int m_Version)
        {
            string   text = string.Empty;
            CheckSum sum  = new CheckSum();

            switch (m_Version)
            {
            case 0:
                return(sum.CalculateChecksumOld(m_Url));

            case 1:
                return(sum.CalculateChecksum(m_Url));
            }
            return(text);
        }