/// <summary> /// copy constructor. /// </summary> /// <param name="nlmpPacket">the source packet</param> /// <exception cref="ArgumentNullException">the source packet must not be null</exception> protected NlmpPacket( NlmpPacket nlmpPacket ) { if (nlmpPacket == null) { throw new ArgumentNullException("nlmpPacket"); } this.header = nlmpPacket.header; }