Ejemplo n.º 1
0
            internal void Deserialize(ref DnsBufferReader reader)
            {
                this.Name = reader.ReadDomainName();
                this.Type = (DnsStandard.RecordType)reader.ReadShort();

                this.Class            = (DnsStandard.Class)reader.ReadShort();
                this.TTL              = reader.ReadInt();
                this.RecordDataLength = reader.ReadShort();
            }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes an instance for the specified domain and type
 /// </summary>
 /// <param name="domain">The domain we are querying.</param>
 /// <param name="type">The record type we are querying.</param>
 /// <param name="qClass">Use to define a non Internet DNS query</param>
 public DnsQuestion(string domain, DnsStandard.RecordType type, DnsStandard.Class qClass)
 {
     this.Domain = domain;
     this.Type   = type;
     this.Class  = qClass;
 }
Ejemplo n.º 3
0
 internal void Deserialize(ref DnsBufferReader reader)
 {
     this.Domain = reader.ReadDomainName();
     this.Type   = (DnsStandard.RecordType)reader.ReadShort();
     this.Class  = (DnsStandard.Class)reader.ReadShort();
 }
Ejemplo n.º 4
0
            internal void Deserialize(ref DnsBufferReader reader)
            {
                this.Name = reader.ReadDomainName();
                this.Type = (DnsStandard.RecordType) reader.ReadShort();

                this.Class = (DnsStandard.Class) reader.ReadShort();
                this.TTL = reader.ReadInt();
                this.RecordDataLength = reader.ReadShort();
            }
Ejemplo n.º 5
0
 internal void Deserialize(ref DnsBufferReader reader)
 {
     this.Domain = reader.ReadDomainName();
     this.Type = (DnsStandard.RecordType) reader.ReadShort();
     this.Class = (DnsStandard.Class) reader.ReadShort();
 }