Ejemplo n.º 1
0
 public byte[] GetVerifyCodeImage(VerifyCodeReq req)
 {
     _VerifyCodeReq = req;
     _HttpClient.Reset();
     _HttpClient.Url  = GetTypeUrl.CombineParam(GetTypeParam());
     _ImageReq        = _HttpClient.GET().GetImageReq();
     _ImageReq.Cap_cd = req.Cap_cd;
     _ImageReq.UID    = req.UID;
     _HttpClient.Url  = GetSig.CombineParam(GetSigParam());
     _ImageReq.Vsig   = _HttpClient.GET().GetVsig();
     _ImageReq.Rand   = (new Random().NextDouble()).ToString();
     _HttpClient.Url  = GetImage.CombineParam(GetImageParam());
     return(_HttpClient.GET().GetBytes());
 }
Ejemplo n.º 2
0
 public RegmasterRes Send(RegmasterReq req)
 {
     _RegmasterReq = req;
     _HttpClient.Reset();
     _HttpClient.Url = CheckRegmasterUrl.CombineParam(GetCheckRegmasterRequestParam());
     return(_HttpClient.GET().GetRemasterRes());
 }