bool checkSign(SortedDictionary <string, object> forms) { var config = new Config(ResturantFactory.ResturantListener.OnGetPlatformConfigXml(ResturantPlatformType.Baidu)); forms["secret"] = config.Secret; return(BaiduHelper.CheckSign(forms, null)); }
private void button1_Click(object sender, EventArgs e) { string str = BaiduHelper.ImageToWordByClipboard(); textBox1.Text = str; }