Skip to content

DomainQueryAsync Method ​

Definition ​

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

Overloads ​

NameDescription
Task<RdapDomainResponse> DomainQueryAsync(DomainProfile profile, CancellationToken cancellationToken = null)Queries RDAP data for a domain profile using the embedded provider registry when available, falling back to DefaultBootstrapBaseUrl when no registry match exists.
Task<RdapDomainResponse> DomainQueryAsync(string domain, CancellationToken cancellationToken = null)Queries RDAP data for a hostname, domain name, or absolute URI using the embedded provider registry when available, falling back to DefaultBootstrapBaseUrl when no registry match exists.
Task<RdapDomainResponse> DomainQueryAsync(Uri uri, CancellationToken cancellationToken = null)Queries RDAP data for a URI host using the embedded provider registry when available, falling back to DefaultBootstrapBaseUrl when no registry match exists.
Task<RdapDomainResponse> DomainQueryAsync(string domain, RdapServiceProvider provider, CancellationToken cancellationToken = null)Queries RDAP data for a domain name using the specified service provider.
Task<RdapDomainResponse> DomainQueryAsync(string domain, string serviceBaseUrl, CancellationToken cancellationToken = null)Queries RDAP data for a domain name using the specified RDAP service base URL.

Task<RdapDomainResponse> DomainQueryAsync(DomainProfile profile, CancellationToken cancellationToken = null) ​

csharp
Task<RdapDomainResponse> DomainQueryAsync(DomainProfile profile, CancellationToken cancellationToken = null)

Queries RDAP data for a domain profile using the embedded provider registry when available, falling back to DefaultBootstrapBaseUrl when no registry match exists.

Parameters ​

NameDescription
cancellationTokenA token to cancel the operation.
profileThe resolved domain profile to query.

Returns ​

The RDAP domain response for the profile registrable domain.

Task<RdapDomainResponse> DomainQueryAsync(string domain, RdapServiceProvider provider, CancellationToken cancellationToken = null) ​

csharp
Task<RdapDomainResponse> DomainQueryAsync(string domain, RdapServiceProvider provider, CancellationToken cancellationToken = null)

Queries RDAP data for a domain name using the specified service provider.

Parameters ​

NameDescription
cancellationTokenA token to cancel the operation.
domainThe domain name to query.
providerThe resolved RDAP service provider.

Returns ​

The RDAP domain response for the requested domain.

Task<RdapDomainResponse> DomainQueryAsync(string domain, string serviceBaseUrl, CancellationToken cancellationToken = null) ​

csharp
Task<RdapDomainResponse> DomainQueryAsync(string domain, string serviceBaseUrl, CancellationToken cancellationToken = null)

Queries RDAP data for a domain name using the specified RDAP service base URL.

Parameters ​

NameDescription
cancellationTokenA token to cancel the operation.
domainThe domain name to query.
serviceBaseUrlThe RDAP service base URL to query, such as DefaultBootstrapBaseUrl.

Returns ​

The RDAP domain response for the requested domain.

Remarks ​

This overload uses only serviceBaseUrl and does not consult the embedded registry.

Task<RdapDomainResponse> DomainQueryAsync(string domain, CancellationToken cancellationToken = null) ​

csharp
Task<RdapDomainResponse> DomainQueryAsync(string domain, CancellationToken cancellationToken = null)

Queries RDAP data for a hostname, domain name, or absolute URI using the embedded provider registry when available, falling back to DefaultBootstrapBaseUrl when no registry match exists.

Parameters ​

NameDescription
cancellationTokenA token to cancel the operation.
domainThe hostname, domain name, or absolute URI to query.

Returns ​

The RDAP domain response for the requested registrable domain.

Task<RdapDomainResponse> DomainQueryAsync(Uri uri, CancellationToken cancellationToken = null) ​

csharp
Task<RdapDomainResponse> DomainQueryAsync(Uri uri, CancellationToken cancellationToken = null)

Queries RDAP data for a URI host using the embedded provider registry when available, falling back to DefaultBootstrapBaseUrl when no registry match exists.

Parameters ​

NameDescription
cancellationTokenA token to cancel the operation.
uriThe absolute URI whose registrable domain is queried.

Returns ​

The RDAP domain response for the requested registrable domain.