Show / Hide Table of Contents

Class IPAddressExtensions

Extension methods for IPAddress.

Inheritance
Object
IPAddressExtensions
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
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 Source

GetArpaName(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.

See Also
https://en.wikipedia.org/wiki/.arpa
  • Improve this Doc
  • View Source
Back to top Generated by DocFX