Appearance
ReverseAsync Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Overloads
| Name | Description |
|---|---|
Task<IReadOnlyList<string>> ReverseAsync(IPAddress address, CancellationToken cancellationToken = null) | Performs a reverse DNS lookup for an IP address. |
Task<IReadOnlyList<string>> ReverseAsync(string address, CancellationToken cancellationToken = null) | Performs a reverse DNS lookup for an IP address in string form. |
Task<IReadOnlyList<string>> ReverseAsync(IPAddress address, CancellationToken cancellationToken = null)
csharp
Task<IReadOnlyList<string>> ReverseAsync(IPAddress address, CancellationToken cancellationToken = null)Performs a reverse DNS lookup for an IP address.
Parameters
| Name | Description |
|---|---|
address | The IPv4 or IPv6 address to look up. |
cancellationToken | A token to cancel the operation. |
Returns
The pointer (PTR) host names found, or an empty list when none exist.
Task<IReadOnlyList<string>> ReverseAsync(string address, CancellationToken cancellationToken = null)
csharp
Task<IReadOnlyList<string>> ReverseAsync(string address, CancellationToken cancellationToken = null)Performs a reverse DNS lookup for an IP address in string form.
Parameters
| Name | Description |
|---|---|
address | The IPv4 or IPv6 address to look up. |
cancellationToken | A token to cancel the operation. |
Returns
The pointer (PTR) host names found, or an empty list when none exist.