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

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

            this.smbParameters.WordCount = packet.SmbParameters.WordCount;
            this.smbData.ByteCount       = packet.SmbData.ByteCount;
        }
        public SmbLockByteRangeResponsePacket CreateLockByteRangeResponse(
            CifsServerPerConnection connection,
            SmbLockByteRangeRequestPacket request)
        {
            SmbLockByteRangeResponsePacket response = new SmbLockByteRangeResponsePacket();
            response.SmbHeader = CifsMessageUtils.CreateSmbHeader(connection, request);

            return response;
        }