Appearance
RefreshFromSourceAsync Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Overloads
| Name | Description |
|---|---|
Task<DomainSuffixRefreshResult> RefreshFromSourceAsync(CancellationToken cancellationToken = null) | Downloads and reloads the public suffix list from DefaultListSourceUrl. |
Task<DomainSuffixRefreshResult> RefreshFromSourceAsync(string sourceUrl, CancellationToken cancellationToken = null) | Downloads and reloads the public suffix list from the specified source URL. |
Task<DomainSuffixRefreshResult> RefreshFromSourceAsync(string sourceUrl, CancellationToken cancellationToken = null)
csharp
Task<DomainSuffixRefreshResult> RefreshFromSourceAsync(string sourceUrl, CancellationToken cancellationToken = null)Downloads and reloads the public suffix list from the specified source URL.
Parameters
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
sourceUrl | The list source URL to download. |
Returns
Metadata describing the refreshed list.
Task<DomainSuffixRefreshResult> RefreshFromSourceAsync(CancellationToken cancellationToken = null)
csharp
Task<DomainSuffixRefreshResult> RefreshFromSourceAsync(CancellationToken cancellationToken = null)Downloads and reloads the public suffix list from DefaultListSourceUrl.
Parameters
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
Returns
Metadata describing the refreshed list.