Appearance
QueryAsync Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Overloads
| Name | Description |
|---|---|
Task<WhoisQueryResult> QueryAsync(DomainProfile profile, CancellationToken cancellationToken = null) | Performs a WHOIS query for a domain profile. |
Task<WhoisQueryResult> QueryAsync(string domain, CancellationToken cancellationToken = null) | Performs a WHOIS query for a hostname, domain name, or absolute URI. |
Task<WhoisQueryResult> QueryAsync(Uri uri, CancellationToken cancellationToken = null) | Performs a WHOIS query for a URI host. |
Task<WhoisQueryResult> QueryAsync(DomainProfile profile, CancellationToken cancellationToken = null)
csharp
Task<WhoisQueryResult> QueryAsync(DomainProfile profile, CancellationToken cancellationToken = null)Performs a WHOIS query for a domain profile.
Parameters
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
profile | The domain profile to query. |
Returns
The WHOIS query result.
Task<WhoisQueryResult> QueryAsync(string domain, CancellationToken cancellationToken = null)
csharp
Task<WhoisQueryResult> QueryAsync(string domain, CancellationToken cancellationToken = null)Performs a WHOIS query for a hostname, domain name, or absolute URI.
Parameters
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
domain | The hostname, domain name, or absolute URI to query. |
Returns
The WHOIS query result.
Task<WhoisQueryResult> QueryAsync(Uri uri, CancellationToken cancellationToken = null)
csharp
Task<WhoisQueryResult> QueryAsync(Uri uri, CancellationToken cancellationToken = null)Performs a WHOIS query for a URI host.
Parameters
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
uri | The absolute URI whose registrable domain is queried. |
Returns
The WHOIS query result.