Appearance
IpQueryAsync Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
Task<RdapIpNetworkResponse> IpQueryAsync(string ip, CancellationToken cancellationToken = null)
csharp
Task<RdapIpNetworkResponse> IpQueryAsync(string ip, CancellationToken cancellationToken = null)Queries RDAP data for an IP address.
Parameters
| Name | Description |
|---|---|
cancellationToken | A token to cancel the operation. |
ip | The IPv4 or IPv6 address to query. |
Returns
A task that resolves to the RDAP network response for the requested IP address.
Remarks
The supplied IP address is trimmed before the RDAP request is issued. Lowercase normalization is harmless for IPv6 text representations, though not strictly required.