ComponentSpace DNS Class Library Reference

DnsMessage Members

DnsMessage overview

Public Instance Constructors

DnsMessage Overloaded. Initializes a new instance of the DnsMessage class.

Public Instance Properties

AdditionalResourceRecords Get the list of additional information resource records.
AnswerResourceRecords Get the list of answer resource records.
AuthoritativeAnswer Get or sets the flag indicating whether the message contains an authoritative answer (AA).
AuthorityResourceRecords Get the list of authority resource records.
DnsQuestions Get the list of questions.
Identifier Get or sets the message identifier (ID).
OpCode Get or sets the message op code (Opcode).
RecursionAvailable Get or sets the flag indicating whether recursion is available (RA).
RecursionDesired Get or sets the flag indicating whether recursion is desired (RD).
Response Get or sets the flag indicating whether the message is a request or response (QR).
ResponseCode Get or sets the response code (RCODE).
Truncation Get or sets the flag indicating whether the message is truncated (TC).

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToByteArray Convert the message into a byte array.
ToString Convert the message to a string.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DnsMessage Class | ComponentSpace.Dns Namespace