Appearance
RefreshFromSourceAsync Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Overloads
| Name | Description |
|---|---|
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
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
tldListSourceUrl | The 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
| Name | Description |
|---|---|
cancellationToken | A 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.