示例#1
0
 public static bool CheckSign(SortedDictionary <string, string> tmpParas, string keycode, string sign)
 {
     return(APIHelper.BuildSign(APIHelper.Parameterfilter(tmpParas), keycode, "MD5", "utf-8") == sign);
 }
示例#2
0
 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);
 }