private void ActionToExecute(StringBuilder AParamsData) { string actionName = StringHelper.Extract(AParamsData.ToString(), "<ActionName>", "</ActionName>"); AParamsData.AppendFormat("<LoginSign>{0}</LoginSign>", LoginSign); string APassword = CryptHelper.HMAC_MD5(AParamsData.ToString(), HMACMD5KEY); string data = string.Empty; switch (actionName) { case "LoginSign": data = client.DimooActionUserLogin(AParamsData.ToString(), APassword); break; default: data = client.DimooActionToExecute(AParamsData.ToString(), APassword); break; } this.txbMsg.Text = data; }
public override string ActionUserLogin(string AParamsData, string AHMACMD5) { AiXinMobileServerService.AixinMobileServerClient client = new AiXinMobileServerService.AixinMobileServerClient(); return(client.DimooActionUserLogin(AParamsData, AHMACMD5)); }