Esempio n. 1
0
 /// <summary>
 /// Starts an owner change of a Domain, brings additional costs with the following TLDs:
 /// .nl
 /// .be
 /// .eu
 /// </summary>
 /// <param name="domainName">The domainName to change the owner for.</param>
 /// <param name="registrantWhoisContact">The new contact data for this.</param>
 public void SetOwner(string domainName, WhoisContact registrantWhoisContact)
 {
     SetSignatureCookies("setOwner", new object[] { domainName, registrantWhoisContact });
     Client.setOwner(domainName, Mapper.Map <Remote.WhoisContact>(registrantWhoisContact));
 }
Esempio n. 2
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 public Domain()
 {
     Nameservers = new Nameserver[0];
     Contacts    = new WhoisContact[0];
     DnsEntries  = new DnsEntry[0];
 }
Esempio n. 3
0
 /// <summary>
 /// Starts an owner change of a Domain, brings additional costs with the following TLDs:
 /// .nl
 /// .be
 /// .eu
 /// </summary>
 /// <param name="domainName">The domainName to change the owner for.</param>
 /// <param name="registrantWhoisContact">The new contact data for this.</param>
 public async Task SetOwnerAsync(string domainName, WhoisContact registrantWhoisContact)
 {
     SetSignatureCookies("setOwner", new object[] { domainName, registrantWhoisContact });
     await Client.setOwnerAsync(domainName, Mapper.Map <Remote.WhoisContact>(registrantWhoisContact));
 }