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

            this.smbParameters.WordCount = packet.SmbParameters.WordCount;

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

            this.smbParameters.WordCount = packet.SmbParameters.WordCount;

            this.smbData.ByteCount = packet.SmbData.ByteCount;
        }
コード例 #3
0
        public SmbTransactionInterimResponsePacket CreateTransactionInterimResponse(
            CifsServerPerConnection connection,
            SmbTransactionRequestPacket request)
        {
            SmbTransactionInterimResponsePacket response = new SmbTransactionInterimResponsePacket();
            response.SmbHeader = CifsMessageUtils.CreateSmbHeader(connection, request);

            return response;
        }