ComponentSpace DNS Class Library Reference

DnsMessage Constructor (Byte[], Int32, Int32)

Construct from a byte array.

[Visual Basic]
Overloads Public Sub New( _
   ByVal bytes As Byte(), _
   ByRef index As Integer, _
   ByRef count As Integer _
)
[C#]
public DnsMessage(
   byte[] bytes,
   ref int index,
   ref int count
);

Parameters

bytes
The byte array containing the message.
index
The index into the byte array.
count
The number of bytes available in the byte array.

See Also

DnsMessage Class | ComponentSpace.Dns Namespace | DnsMessage Constructor Overload List