Table of Contents

Class RecordWks

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

DNS well known services record.

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

Constructors

RecordWks(RecordReader)

Initializes a new instance of the RecordWks class from the specified RecordReader.

public RecordWks(RecordReader reader)

Parameters

reader RecordReader

The RecordReader used to read the WKS record data.

Properties

Address

Gets or sets the IPv4 address of the server described by this record.

public string Address { get; set; }

Property Value

string

Bitmap

Gets the variable-length bitmap indicating supported services on the specified protocol.

public IEnumerable<byte> Bitmap { get; }

Property Value

IEnumerable<byte>

Protocol

Gets or sets the IP protocol number for the service (e.g., TCP or UDP).

public int Protocol { get; set; }

Property Value

int

Methods

ToString()

Returns a string representation of the WKS record.

public override string ToString()

Returns

string

A string containing the WKS record fields in display order.