/// <summary> /// Lit un nom qualifié dans le flux courant /// </summary> /// <param name="source">tableau source</param> /// <param name="offset">décallage</param> /// <returns>Valeur lue</returns> public DNSName ReadDNSName() { DNSName ret = new DNSName(); ret.Read(this); return(ret); }
/// <summary> /// Lit le flux sous-jacent /// </summary> public override void Read(DNSRequest request, int Length) { mName = request.ReadDNSName(); rName = request.ReadDNSName(); serial = request.ReadInt(); refresh = request.ReadInt(); retry = request.ReadInt(); expire = request.ReadInt(); minimum = request.ReadInt(); }
/// <summary> /// Lit le flux sous-jacent /// </summary> public override void Read(DNSRequest request) { name = request.ReadDNSName(); Type = request.ReadShort(); Class = (DNSClass)request.ReadShort(); TimeToLive = request.ReadInt(); ushort resourceDataLength = request.ReadShort(); request.Push(); Details = CreateResourceDetails(Type); Details.resourceRecord = this; Details.Read(request, resourceDataLength); request.Pop(); request.Position += resourceDataLength; }
/// <summary> /// Lit le flux sous-jacent /// </summary> public override void Read(DNSRequest request, int Length) { dnsName = request.ReadDNSName(); }
/// <summary> /// Lit le flux sous-jacent /// </summary> public override void Read(DNSRequest request, int Length) { eMailBx = request.ReadDNSName(); rMailBx = request.ReadDNSName(); }
/// <summary> /// Lit le flux sous-jacent /// </summary> public override void Read(DNSRequest request) { name = request.ReadDNSName(); Type = request.ReadShort(); Class = (DNSClass)request.ReadShort(); }
/// <summary> /// Lit le flux sous-jacent /// </summary> public override void Read(DNSRequest request, int Length) { preference = request.ReadShort(); dnsName = request.ReadDNSName(); }
/// <summary> /// Ecrit un nom DNS sur le flux /// </summary> /// <param name="target">cible de l'écriture</param> /// <param name="offset">décallage</param> /// <param name="Value">valeur à écrire</param> public void Write(DNSName Value) { Value.Write(this); }