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

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

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

            return response;
        }