/// <summary> /// to decode the Trans2 parameters: from the general Trans2Parameters to the concrete Trans2 Parameters. /// </summary> protected override void DecodeTrans2Parameters() { if (this.smbData.Trans2_Parameters != null && this.smbData.Trans2_Parameters.Length > 0) { this.trans2Parameters = CifsMessageUtils.ToStuct < TRANS2_QUERY_PATH_INFORMATION_Response_Trans2_Parameters>(this.smbData.Trans2_Parameters); } }
/// <summary> /// Deep copy constructor. /// </summary> public SmbTrans2QueryFileInformationFinalResponsePacket( SmbTrans2QueryFileInformationFinalResponsePacket packet) : base(packet) { this.InitDefaultValue(); this.trans2Parameters = packet.trans2Parameters; this.trans2Data = packet.trans2Data; this.informationLevel = packet.informationLevel; }
/// <summary> /// to decode the Trans2 parameters: from the general Trans2Parameters to the concrete Trans2 Parameters. /// </summary> protected override void DecodeTrans2Parameters() { if (this.informationLevel != QueryInformationLevel.SMB_INFO_IS_NAME_VALID && this.smbData.Trans2_Parameters != null && this.smbData.Trans2_Parameters.Length > 0) { this.trans2Parameters = CifsMessageUtils.ToStuct < TRANS2_QUERY_PATH_INFORMATION_Response_Trans2_Parameters>(this.smbData.Trans2_Parameters); } }