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; }
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); }