/// <summary>
        /// Deep copy constructor.
        /// </summary>
        public SmbSeekResponsePacket(SmbSeekResponsePacket packet)
            : base(packet)
        {
            this.InitDefaultValue();

            this.smbParameters.WordCount = packet.SmbParameters.WordCount;
            this.smbParameters.Offset    = packet.SmbParameters.Offset;
            this.smbData.ByteCount       = packet.SmbData.ByteCount;
        }
        /// <summary>
        /// Deep copy constructor.
        /// </summary>
        public SmbSeekResponsePacket(SmbSeekResponsePacket packet)
            : base(packet)
        {
            this.InitDefaultValue();

            this.smbParameters.WordCount = packet.SmbParameters.WordCount;
            this.smbParameters.Offset = packet.SmbParameters.Offset;
            this.smbData.ByteCount = packet.SmbData.ByteCount;
        }
        public SmbSeekResponsePacket CreateSeekResponse(
            CifsServerPerConnection connection,
            SmbSeekRequestPacket request)
        {
            SmbSeekResponsePacket response = new SmbSeekResponsePacket();
            response.SmbHeader = CifsMessageUtils.CreateSmbHeader(connection, request);

            SMB_COM_SEEK_Response_SMB_Parameters smbParameters = response.SmbParameters;
            smbParameters.Offset = (uint)request.SmbParameters.Offset;
            smbParameters.WordCount = (byte)(TypeMarshal.GetBlockMemorySize(smbParameters) / 2);
            response.SmbParameters = smbParameters;

            return response;
        }