public static bool CheckSign(SortedDictionary <string, string> tmpParas, string keycode, string sign) { return(APIHelper.BuildSign(APIHelper.Parameterfilter(tmpParas), keycode, "MD5", "utf-8") == sign); }
public static bool CheckSign(System.Collections.Generic.SortedDictionary <string, string> tmpParas, string keycode, string sign) { System.Collections.Generic.Dictionary <string, string> dicArray = APIHelper.Parameterfilter(tmpParas); return(APIHelper.BuildSign(dicArray, keycode, "MD5", "utf-8") == sign); }