Show / Hide Table of Contents

Class DnsIpAddressResource

Represents a DNS resource record which contains an Internet Protocol address. See A and AAAA.

Inheritance
Object
DnsIpAddressResource
Implements
IDnsResource
IDnsByteArrayWriter
IEquatable<DnsIpAddressResource>
Namespace: Ae.Dns.Protocol.Records
Assembly: Ae.Dns.Protocol.dll
Syntax
public sealed class DnsIpAddressResource : object, IDnsResource, IDnsByteArrayWriter, IEquatable<DnsIpAddressResource>

Properties

| Improve this Doc View Source

IPAddress

The Internet Protocol address.

Declaration
public IPAddress IPAddress { get; set; }
Property Value
Type Description
IPAddress

May be an IPv4 or IPv6 address, depending on the record type.

Methods

| Improve this Doc View Source

Equals(DnsIpAddressResource)

Declaration
public bool Equals(DnsIpAddressResource other)
Parameters
Type Name Description
DnsIpAddressResource other
Returns
Type Description
Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
| Improve this Doc View Source

ReadBytes(ReadOnlyMemory<Byte>, ref Int32, Int32)

Read from the specified byte array, starting at the specified offset.

Declaration
public void ReadBytes(ReadOnlyMemory<byte> bytes, ref int offset, int length)
Parameters
Type Name Description
ReadOnlyMemory<Byte> bytes

The byte array to read from.

Int32 offset

The offset to start at.

Int32 length

The maximum number of bytes to read.

| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
| Improve this Doc View Source

WriteBytes()

Declaration
public IEnumerable<IEnumerable<byte>> WriteBytes()
Returns
Type Description
IEnumerable<IEnumerable<Byte>>
| Improve this Doc View Source

WriteBytes(Memory<Byte>, ref Int32)

Write to the the specified byte array.

Declaration
public void WriteBytes(Memory<byte> bytes, ref int offset)
Parameters
Type Name Description
Memory<Byte> bytes

The byte array to read from.

Int32 offset

The offset to start at.

Implements

IDnsResource
IDnsByteArrayWriter
IEquatable<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX