/// <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.DomainName = reader.ReadDomainName(); this.ResponsibleName = reader.ReadDomainName(); this.SerialNumber = reader.ReadInt(); this.Refresh = reader.ReadInt(); this.Retry = reader.ReadInt(); this.Expire = reader.ReadInt(); this.Minimum = reader.ReadInt(); }
/// <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.NameServer = reader.ReadDomainName(); }
/// <summary> /// Creates an instance from the DNS message from a DNS reader. /// </summary> /// <param name="reader">The DNS reader</param> protected override void DeserializeRecordData(ref DnsBufferReader reader) { m_name = reader.ReadDomainName(); }
/// <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.Preference = reader.ReadShort(); this.Exchange = reader.ReadDomainName(); }