/// <summary>
 /// Constructs an MX record by reading bytes from a return message
 /// </summary>
 /// <param name="pointer">A logical pointer to the bytes holding the record</param>
 internal MXRecord(Pointer pointer)
 {
     _preference = pointer.ReadShort();
     _domainName = pointer.ReadDomain();
 }
Exemple #2
0
 /// <summary>
 /// Constructs a NS record by reading bytes from a return message
 /// </summary>
 /// <param name="pointer">A logical pointer to the bytes holding the record</param>
 internal NSRecord(Pointer pointer)
 {
     _domainName = pointer.ReadDomain();
 }