Table of Contents

Class RecordKx

Namespace
Ubiety.Dns.Core.Records
Assembly
Ubiety.Dns.Core.dll

Key exchange record.

public sealed record RecordKx : Record, IEquatable<Record>, IEquatable<RecordKx>
Inheritance
RecordKx
Implements
Inherited Members

Constructors

RecordKx(RecordReader)

Initializes a new instance of the RecordKx class.

public RecordKx(RecordReader reader)

Parameters

reader RecordReader

RecordReader for the data.

Properties

Exchanger

Gets the exchanger.

public string Exchanger { get; }

Property Value

string

Preference

Gets the preference.

public ushort Preference { get; }

Property Value

ushort

Methods

ToString()

Returns a string representation of the key exchanger record.

public override string ToString()

Returns

string

The preference followed by the exchanger.

Remarks

Required rather than optional: without it the compiler-generated record ToString prints ResourceRecord, whose own ToString prints this record back, and the pair recurse until the stack is exhausted.