protected internal override void EncodeRecordData(byte[] messageData, int offset, ref int currentPosition, Dictionary <string, ushort> domainNames) { foreach (var part in TextParts) { DnsMessageBase.EncodeTextBlock(messageData, ref currentPosition, part); } }
protected internal override void EncodeRecordData(byte[] messageData, int offset, ref int currentPosition, Dictionary <string, ushort> domainNames) { DnsMessageBase.EncodeUShort(messageData, ref currentPosition, Order); DnsMessageBase.EncodeUShort(messageData, ref currentPosition, Preference); DnsMessageBase.EncodeTextBlock(messageData, ref currentPosition, Flags); DnsMessageBase.EncodeTextBlock(messageData, ref currentPosition, Services); DnsMessageBase.EncodeTextBlock(messageData, ref currentPosition, RegExp); DnsMessageBase.EncodeDomainName(messageData, offset, ref currentPosition, Replacement, false, domainNames); }
protected internal override void EncodeRecordData(byte[] messageData, int offset, ref int currentPosition, Dictionary <string, ushort> domainNames) { DnsMessageBase.EncodeTextBlock(messageData, ref currentPosition, Cpu); DnsMessageBase.EncodeTextBlock(messageData, ref currentPosition, OperatingSystem); }
protected internal override void EncodeRecordData(byte[] messageData, int offset, ref int currentPosition, Dictionary <string, ushort> domainNames) { DnsMessageBase.EncodeTextBlock(messageData, ref currentPosition, Longitude.ToString(CultureInfo.InvariantCulture)); DnsMessageBase.EncodeTextBlock(messageData, ref currentPosition, Latitude.ToString(CultureInfo.InvariantCulture)); DnsMessageBase.EncodeTextBlock(messageData, ref currentPosition, Altitude.ToString(CultureInfo.InvariantCulture)); }
protected internal override void EncodeRecordData(byte[] messageData, int offset, ref int currentPosition, Dictionary <string, ushort> domainNames) { messageData[currentPosition++] = Flags; DnsMessageBase.EncodeTextBlock(messageData, ref currentPosition, Tag); DnsMessageBase.EncodeTextWithoutLength(messageData, ref currentPosition, Value); }