Class IPAddressExtensions
Extension methods for IPAddress.
Inherited Members
Namespace: Makaretu.Dns
Assembly: Makaretu.Dns.dll
Syntax
public static class IPAddressExtensions
Remarks
Original code copied from https://github.com/MichaCo/DnsClient.NET/blob/dev/src/DnsClient/IpAddressExtensions.cs
Methods
| Improve this Doc View SourceGetArpaName(IPAddress)
Translates a IPv4 or IPv6 address into an arpa address. Used for reverse DNS lookup to get the domain name of the given address.
Declaration
public static string GetArpaName(this IPAddress ip)
Parameters
Type | Name | Description |
---|---|---|
IPAddress | ip | The address to translate. |
Returns
Type | Description |
---|---|
String | The arpa representation of the address. |