protected override void ProcessDataNode(XmlDocument doc, XmlNamespaceManager namespaces) { base.ProcessDataNode(doc, namespaces); namespaces.AddNamespace("domain", "urn:ietf:params:xml:ns:domain-1.0"); XmlNode domainCreateDataNode = doc.SelectSingleNode("/ns:epp/ns:response/ns:resData/domain:creData", namespaces); if (domainCreateDataNode != null) { DomainCreateResponse domainRes = new DomainCreateResponse(domainCreateDataNode.OuterXml); DomainCreateResult = domainRes.DomainCreateResult; } }
public async Task <DomainCreateResult> DomainCreate(DomainCreateRequestParam param) { try { DomainCreateResult result = await HttpRequest <DomainCreateResult>(param); return(result); } catch (Exception ex) { throw new Exception($"Tencent cloud ddns request error. {ex.Message}"); } }