public static string GetReqHeaderMac(ReqHeader header) { StringBuilder strRes = new StringBuilder(); strRes.Append(header.userCode) .Append(header.appCode); return(strRes.ToString()); }
private static SubmitServiceClient GetStubClient() { if (((gyclient == null) || (smssubmit == null)) || (header == null)) { try { gyclient = new SubmitServiceClient(); smssubmit = new SmsSubmit(); header = new ReqHeader(); } catch (Exception e) { throw new Exception(e.Message); } } return(gyclient); }