Beispiel #1
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>
 public Null(Pointer pointer, int length)
 {
     data = pointer.ReadBytes(length);
 }
Beispiel #2
0
 /// <summary>
 /// Constructs an AAAA record by reading bytes from a return message
 /// </summary>
 /// <param name="pointer">A logical pointer to the bytes holding the record</param>
 public Aaaa(Pointer pointer)
 {
     byte[] b = pointer.ReadBytes(16);
     ipAddress = new IPAddress(b);
 }
Beispiel #3
0
 /// <summary>
 /// Constructs an ANAME record by reading bytes from a return message
 /// </summary>
 /// <param name="pointer">A logical pointer to the bytes holding the record</param>
 public A(Pointer pointer)
 {
     byte[] bytes = pointer.ReadBytes(4);
     ipAddress = new IPAddress(bytes);
 }