/// <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; }
public SmbTransactionInterimResponsePacket CreateTransactionInterimResponse( CifsServerPerConnection connection, SmbTransactionRequestPacket request) { SmbTransactionInterimResponsePacket response = new SmbTransactionInterimResponsePacket(); response.SmbHeader = CifsMessageUtils.CreateSmbHeader(connection, request); return response; }