Exemplo n.º 1
0
        internal Byte[] AddAuthority(Byte[] Payload, SOA SOARecord)
        {
            Byte[] SOABytes = SOARecord.ToIxfrByte();

            Byte[] PayloadWithAuth = new Byte[Payload.Length + SOABytes.Length];

            Array.Copy(Payload, PayloadWithAuth, Payload.Length);
            Array.Copy(SOABytes, 0, PayloadWithAuth, Payload.Length, SOABytes.Length);

            return(PayloadWithAuth);
        }