Appearance
IsRdapDomain Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Overloads
| Name | Description |
|---|---|
bool IsRdapDomain(DomainProfile profile) | Returns when the profile registrable domain has an entry in the embedded provider registry. |
bool IsRdapDomain(string domain) | Returns when the domain's TLD has an entry in the embedded provider registry. |
bool IsRdapDomain(Uri uri) | Returns when the URI host's TLD has an entry in the embedded provider registry. |
bool IsRdapDomain(DomainProfile profile)
csharp
bool IsRdapDomain(DomainProfile profile)Returns when the profile registrable domain has an entry in the embedded provider registry.
Parameters
| Name | Description |
|---|---|
profile | The domain profile to check. |
Returns
when a registry entry matches the profile; otherwise, .
bool IsRdapDomain(string domain)
csharp
bool IsRdapDomain(string domain)Returns when the domain's TLD has an entry in the embedded provider registry.
Parameters
| Name | Description |
|---|---|
domain | The hostname, domain name, or absolute URI to check. |
Returns
when a registry entry matches the domain; otherwise, .
Remarks
Invalid or non-hostname input returns rather than throwing. Use TryGetServiceProvider when service URL details are required.
bool IsRdapDomain(Uri uri)
csharp
bool IsRdapDomain(Uri uri)Returns when the URI host's TLD has an entry in the embedded provider registry.
Parameters
| Name | Description |
|---|---|
uri | The absolute URI whose host is checked. |
Returns
when a registry entry matches the host; otherwise, .