Skip to content

ReverseAsync Method ​

Definition ​

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

Overloads ​

NameDescription
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 ​

NameDescription
addressThe IPv4 or IPv6 address to look up.
cancellationTokenA 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 ​

NameDescription
addressThe IPv4 or IPv6 address to look up.
cancellationTokenA token to cancel the operation.

Returns ​

The pointer (PTR) host names found, or an empty list when none exist.