Esempio n. 1
0
 public AliPayNotify(SortedDictionary <string, string> inputPara, string notify_id, string partner, string key)
 {
     this._partner       = partner;
     this._key           = key;
     this._input_charset = "utf-8";
     this._sign_type     = "MD5";
     this._veryfy_url    = this.Https_veryfy_url + "partner=" + this._partner + "&notify_id=" + notify_id;
     this.sPara          = OpenIdFunction.FilterPara(inputPara);
     this.preSignStr     = OpenIdFunction.CreateLinkString(this.sPara);
     this.mysign         = OpenIdFunction.BuildMysign(this.sPara, this._key, this._sign_type, this._input_charset);
     this.responseTxt    = this.Get_Http(this._veryfy_url, 0x1d4c0);
 }
Esempio n. 2
0
 public AliPayNotify(System.Collections.Generic.SortedDictionary <string, string> inputPara, string notify_id, string partner, string string_0)
 {
     this._partner       = partner;
     this._key           = string_0;
     this._input_charset = "utf-8";
     this._sign_type     = "MD5";
     this._veryfy_url    = string.Concat(new string[]
     {
         this.Https_veryfy_url,
         "partner=",
         this._partner,
         "&notify_id=",
         notify_id
     });
     this.sPara       = OpenIdFunction.FilterPara(inputPara);
     this.preSignStr  = OpenIdFunction.CreateLinkString(this.sPara);
     this.mysign      = OpenIdFunction.BuildMysign(this.sPara, this._key, this._sign_type, this._input_charset);
     this.responseTxt = this.Get_Http(this._veryfy_url, 120000);
 }