Skip to content

RefreshFromSourceAsync Method ​

Definition ​

  • Namespace: JASE.Network
  • Assembly: JASE.Network.dll

Overloads ​

NameDescription
Task<WhoisRegistryRefreshResult> RefreshFromSourceAsync(CancellationToken cancellationToken = null)Downloads the IANA TLD list and rebuilds the WHOIS server registry by querying DefaultIanaReferralServer for each TLD.
Task<WhoisRegistryRefreshResult> RefreshFromSourceAsync(string tldListSourceUrl, CancellationToken cancellationToken = null)Downloads a TLD list and rebuilds the WHOIS server registry by querying DefaultIanaReferralServer for each listed TLD.

Task<WhoisRegistryRefreshResult> RefreshFromSourceAsync(string tldListSourceUrl, CancellationToken cancellationToken = null) ​

csharp
Task<WhoisRegistryRefreshResult> RefreshFromSourceAsync(string tldListSourceUrl, CancellationToken cancellationToken = null)

Downloads a TLD list and rebuilds the WHOIS server registry by querying DefaultIanaReferralServer for each listed TLD.

Parameters ​

NameDescription
cancellationTokenA token to cancel the operation.
tldListSourceUrlThe IANA tlds-alpha-by-domain.txt source URL to download.

Returns ​

Metadata describing the refreshed registry.

Task<WhoisRegistryRefreshResult> RefreshFromSourceAsync(CancellationToken cancellationToken = null) ​

csharp
Task<WhoisRegistryRefreshResult> RefreshFromSourceAsync(CancellationToken cancellationToken = null)

Downloads the IANA TLD list and rebuilds the WHOIS server registry by querying DefaultIanaReferralServer for each TLD.

Parameters ​

NameDescription
cancellationTokenA token to cancel the operation.

Returns ​

Metadata describing the refreshed registry.

Remarks ​

This operation issues one WHOIS referral query per IANA root-zone TLD and may take several minutes.