Ejemplo n.º 1
0
		internal override void ReadData(NsBinaryReader reader, int length)
		{
			Order = reader.ReadUInt16();
			Preference = reader.ReadUInt16();
			Flags = reader.ReadString();
			Services = reader.ReadString();
			Regexp = reader.ReadString();
			Replacement = reader.ReadDomainName();
		}
Ejemplo n.º 2
0
		internal override void ReadData(NsBinaryReader reader, int length)
		{
			int pos = reader.Position;
			var data = new List<string>();
			while ((reader.Position - pos) < length)
				data.Add(reader.ReadString());
			TxtData = data.ToArray();
		}
Ejemplo n.º 3
0
		internal override void ReadData(NsBinaryReader reader, int length)
		{
			TypeCovered = reader.ReadUInt16();
			Algorithm = (DnsLlmnrRecordCodes.Algorithms) reader.ReadByte();
			Labels = reader.ReadByte();
			OriginalTtl = reader.ReadUInt32();
			SignatureExpiration = reader.ReadUInt32();
			SignatureInception = reader.ReadUInt32();
			KeyTag = reader.ReadUInt16();
			SignersName = reader.ReadDomainName();
			Signature = reader.ReadString();
		}
Ejemplo n.º 4
0
		internal override void ReadData(NsBinaryReader reader, int length)
		{
			Cpu = reader.ReadString();
			Os = reader.ReadString();
		}
Ejemplo n.º 5
0
		internal override void ReadData(NsBinaryReader reader, int length)
		{
			Flags = reader.ReadUInt16();
			Protocol = (DnsLlmnrRecordCodes.Protocols) reader.ReadByte();
			Algorithm = (DnsLlmnrRecordCodes.Algorithms) reader.ReadByte();
			if (FlagExtension)
				reader.ReadUInt16(); //Skip two bytes cause of an additional Flag
			if (Type == Types.NoKey)
				return;
			PublicKey = reader.ReadString();
		}
Ejemplo n.º 6
0
		internal override void ReadData(NsBinaryReader reader, int length)
		{
			PsdnAddress = reader.ReadString();
		}
Ejemplo n.º 7
0
		internal override void ReadData(NsBinaryReader reader, int length)
		{
			Longitude = reader.ReadString();
			Latitude = reader.ReadString();
			Altitude = reader.ReadString();
		}