/// <summary> /// Deep copy constructor. /// </summary> public SmbNtTransactCreateResponsePacket(SmbNtTransactCreateResponsePacket packet) : base(packet) { this.InitDefaultValue(); this.ntTransParameters = packet.ntTransParameters; }
/// <summary> /// to decode the NtTrans parameters: from the general NtTransParameters to the concrete NtTrans Parameters. /// </summary> protected override void DecodeNtTransParameters() { if (this.smbData.Parameters != null && this.smbData.Parameters.Length > 0) { this.ntTransParameters = TypeMarshal.ToStruct<NT_TRANSACT_CREATE_Response_NT_Trans_Parameters>( this.smbData.Parameters); } }