Appearance
GetTextRecordsAsync Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Task<IReadOnlyList<TxtRecord>> GetTextRecordsAsync(string domain, CancellationToken cancellationToken = null)
csharp
Task<IReadOnlyList<TxtRecord>> GetTextRecordsAsync(string domain, CancellationToken cancellationToken = null)Returns the text (TXT) records for a domain name.
Parameters
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
domain | The domain name to query. |
Returns
The TXT records found, or an empty list when none exist.