Class RecordWks
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
readerRecordReaderThe 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
Bitmap
Gets the variable-length bitmap indicating supported services on the specified protocol.
public IEnumerable<byte> Bitmap { get; }
Property Value
Protocol
Gets or sets the IP protocol number for the service (e.g., TCP or UDP).
public int Protocol { get; set; }
Property Value
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.