DnsRawPackage Class

A wrapper around the buffer of a raw DNS package byte buffer The first two bytes are reserved for the length header

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public class DnsRawPackage
Inheritance
Object    DnsRawPackage
Derived

Constructors

DnsRawPackage Creates a new instance of the DnsRawPackage class

Properties

Length Gets the length of the raw DNS package without length header
MessageIdentification The identification of the dns message

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToArraySegment Gets the data of the the raw DNS package
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

LENGTH_HEADER_LENGTH Length of the length header

See Also