Show / Hide Table of Contents

Class UnknownEdnsOption

An unknown EDNS option.

Inheritance
Object
EdnsOption
UnknownEdnsOption
Inherited Members
EdnsOption.Type
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 class UnknownEdnsOption : EdnsOption
Remarks

When an EdnsOption is read with a Type that is not EdnsOptionRegistry, then this is used to deserialise the information.

Properties

| Improve this Doc View Source

Data

Specfic data for the option.

Declaration
public byte[] Data { get; set; }
Property Value
Type Description
Byte[]

Methods

| Improve this Doc View Source

ReadData(WireReader, Int32)

Read the data that is specific to the option Type.

Declaration
public override void ReadData(WireReader reader, int length)
Parameters
Type Name Description
WireReader reader

The source of the option's data.

Int32 length

The length, in bytes, of the data.

Overrides
EdnsOption.ReadData(WireReader, Int32)
Remarks

Derived classes must implement this method.

| Improve this Doc View Source

ToString()

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

WriteData(WireWriter)

Write the data that is specific to the resource record Type.

Declaration
public override void WriteData(WireWriter writer)
Parameters
Type Name Description
WireWriter writer

The destination for the option's data.

Overrides
EdnsOption.WriteData(WireWriter)
Remarks

Derived classes must implement this method.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX