Пример #1
0
        /// <summary>
        /// Deep copy constructor.
        /// </summary>
        public SmbNtTransactCreateResponsePacket(SmbNtTransactCreateResponsePacket packet)
            : base(packet)
        {
            this.InitDefaultValue();

            this.ntTransParameters = packet.ntTransParameters;
        }
Пример #2
0
 /// <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);
     }
 }