示例#1
0
        public static string GetReqHeaderMac(ReqHeader header)
        {
            StringBuilder strRes = new StringBuilder();

            strRes.Append(header.userCode)
            .Append(header.appCode);
            return(strRes.ToString());
        }
示例#2
0
 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);
 }