internal override void ParseRecordData(byte[] resultData, int currentPosition, int length) { int endPosition = currentPosition + length; IsdnAddress = DnsMessageBase.ParseText(resultData, ref currentPosition); SubAddress = (currentPosition < endPosition) ? DnsMessageBase.ParseText(resultData, ref currentPosition) : String.Empty; }
internal override void ParseRecordData(byte[] resultData, int startPosition, int length) { Order = DnsMessageBase.ParseUShort(resultData, ref startPosition); Preference = DnsMessageBase.ParseUShort(resultData, ref startPosition); Flags = DnsMessageBase.ParseText(resultData, ref startPosition); Services = DnsMessageBase.ParseText(resultData, ref startPosition); RegExp = DnsMessageBase.ParseText(resultData, ref startPosition); Replacement = DnsMessageBase.ParseDomainName(resultData, ref startPosition); }
internal override void ParseRecordData(byte[] resultData, int startPosition, int length) { int endPosition = startPosition + length; TextData = String.Empty; while (startPosition < endPosition) { TextData += DnsMessageBase.ParseText(resultData, ref startPosition); } }
internal override void ParseRecordData(byte[] resultData, int startPosition, int length) { int endPosition = startPosition + length; List <string> textParts = new List <string>(); while (startPosition < endPosition) { textParts.Add(DnsMessageBase.ParseText(resultData, ref startPosition)); } TextParts = textParts; TextData = String.Join(String.Empty, textParts.ToArray()); }
internal override void ParseRecordData(byte[] resultData, int startPosition, int length) { Cpu = DnsMessageBase.ParseText(resultData, ref startPosition); OperatingSystem = DnsMessageBase.ParseText(resultData, ref startPosition); }
internal override void ParseRecordData(byte[] resultData, int startPosition, int length) { X25Address += DnsMessageBase.ParseText(resultData, ref startPosition); }
internal override void ParseRecordData(byte[] resultData, int currentPosition, int length) { Longitude = Double.Parse(DnsMessageBase.ParseText(resultData, ref currentPosition), CultureInfo.InvariantCulture); Latitude = Double.Parse(DnsMessageBase.ParseText(resultData, ref currentPosition), CultureInfo.InvariantCulture); Altitude = Double.Parse(DnsMessageBase.ParseText(resultData, ref currentPosition), CultureInfo.InvariantCulture); }
internal override void ParseRecordData(byte[] resultData, int startPosition, int length) { Flags = resultData[startPosition++]; Tag = DnsMessageBase.ParseText(resultData, ref startPosition); Value = DnsMessageBase.ParseText(resultData, ref startPosition, length - (2 + Tag.Length)); }