public void DesbloquearSoftToken(string tok1) { this.token1 = tok1; ReqDesbloqueoST req = new ReqDesbloqueoST() { token1 = tok1, fechaHora = "", tipoOTP = "CT" }; Services.DesbloqueoSoftToken(base.ServiceRequest, ResponseDesbloqueoSoftToken, req); }
public static void DesbloqueoSoftToken(ServiceRequest2 serviceRequest, ServiceRequestEventHandler<DtoDesbloqueoToken> asyncCallback, ReqDesbloqueoST requestData) { new Thread(() => { serviceRequest.BeginWebRequest<ResDesbloqueoToken, DtoDesbloqueoToken, ReqDesbloqueoST>(service._serviceDesbloqueoToken, asyncCallback, requestData); }).Start(); }