Beispiel #1
0
        /// <summary>
        /// Deep copy constructor.
        /// </summary>
        public SmbTransaction2InterimResponsePacket(SmbTransaction2InterimResponsePacket packet)
            : base(packet)
        {
            this.InitDefaultValue();

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

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

            return response;
        }