Ejemplo n.º 1
0
        public static string GetReqHeaderMac(ReqHeader header)
        {
            StringBuilder strRes = new StringBuilder();

            strRes.Append(header.userCode)
            .Append(header.appCode);
            return(strRes.ToString());
        }
Ejemplo n.º 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);
 }