Example #1
0
 /// <summary>
 /// Reads data into this RR from the DNS wire format data in <paramref name="reader"/>
 /// </summary>
 /// <param name="reader">Reader in which wire format data for this RR is already buffered.</param>
 protected override void DeserializeRecordData(ref DnsBufferReader reader)
 {
     this.Priority = reader.ReadUShort();
     this.Weight   = reader.ReadUShort();
     this.Port     = reader.ReadUShort();
     this.Target   = reader.ReadDomainName();
 }
Example #2
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();
            }
Example #3
0
 internal void Deserialize(ref DnsBufferReader reader)
 {
     this.Domain = reader.ReadDomainName();
     this.Type   = (DnsStandard.RecordType)reader.ReadShort();
     this.Class  = (DnsStandard.Class)reader.ReadShort();
 }
Example #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();
            }
Example #5
0
 internal void Deserialize(ref DnsBufferReader reader)
 {
     this.Domain = reader.ReadDomainName();
     this.Type = (DnsStandard.RecordType) reader.ReadShort();
     this.Class = (DnsStandard.Class) reader.ReadShort();
 }
Example #6
0
 /// <summary>
 /// Reads data into this RR from the DNS wire format data in <paramref name="reader"/>
 /// </summary>
 /// <param name="reader">Reader in which wire format data for this RR is already buffered.</param>
 protected override void DeserializeRecordData(ref DnsBufferReader reader)
 {
     this.Priority = reader.ReadUShort();
     this.Weight = reader.ReadUShort();
     this.Port = reader.ReadUShort();
     this.Target = reader.ReadDomainName();
 }