Interface IPresentationSerialiser
Presentation format serialisation of a resource record.
Namespace: Makaretu.Dns
Assembly: Makaretu.Dns.dll
Syntax
public interface IPresentationSerialiser
Remarks
The text representation of a ResourceRecord. It is also referred to as the "master file format". See RFC 1035 - 5 Master File and RFC 3597 - Handling of Unknown DNS Resource Record (RR) Types for more details.
The ResourceRecord adds helper methods to deal with a String.
Methods
| Improve this Doc View SourceRead(PresentationReader)
Reads the text representation of a resource record.
Declaration
ResourceRecord Read(PresentationReader reader)
Parameters
Type | Name | Description |
---|---|---|
PresentationReader | reader | The source of the ResourceRecord. |
Returns
Type | Description |
---|---|
ResourceRecord | The final resource record. |
Remarks
Reading a ResourceRecord will return a new instance that is type specific
Write(PresentationWriter)
Writes the text representation of a resource record.
Declaration
void Write(PresentationWriter writer)
Parameters
Type | Name | Description |
---|---|---|
PresentationWriter | writer | The destination of the ResourceRecord. |