Appearance
IsWhoisTld Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Overloads
| Name | Description |
|---|---|
bool IsWhoisTld(DomainProfile profile) | Returns when the profile IANA root-zone TLD has an entry in the embedded WHOIS server registry. |
bool IsWhoisTld(string domain) | Returns when the domain's IANA root-zone TLD has an entry in the embedded WHOIS server registry. |
bool IsWhoisTld(Uri uri) | Returns when the URI host's IANA root-zone TLD has an entry in the embedded WHOIS server registry. |
bool IsWhoisTld(DomainProfile profile)
csharp
bool IsWhoisTld(DomainProfile profile)Returns when the profile IANA root-zone TLD has an entry in the embedded WHOIS server registry.
Parameters
| Name | Description |
|---|---|
profile | The domain profile to check. |
Returns
when a registry entry matches the profile; otherwise, .
bool IsWhoisTld(string domain)
csharp
bool IsWhoisTld(string domain)Returns when the domain's IANA root-zone TLD has an entry in the embedded WHOIS server 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 ResolveWhoisServerReferralAsync when a live IANA referral lookup is required for TLDs not present in the embedded registry.
bool IsWhoisTld(Uri uri)
csharp
bool IsWhoisTld(Uri uri)Returns when the URI host's IANA root-zone TLD has an entry in the embedded WHOIS server registry.
Parameters
| Name | Description |
|---|---|
uri | The absolute URI whose host is checked. |
Returns
when a registry entry matches the host; otherwise, .