/// <summary> /// Deep copy constructor. /// </summary> public SmbTrans2SetPathInformationFinalResponsePacket(SmbTrans2SetPathInformationFinalResponsePacket packet) : base(packet) { this.InitDefaultValue(); this.trans2Parameters.EaErrorOffset = packet.trans2Parameters.EaErrorOffset; }
public SmbTrans2SetPathInformationFinalResponsePacket CreateTrans2SetPathInformationFinalResponse( CifsServerPerConnection connection, SmbTrans2SetPathInformationRequestPacket request) { SmbTrans2SetPathInformationFinalResponsePacket response = new SmbTrans2SetPathInformationFinalResponsePacket(); response.SmbHeader = CifsMessageUtils.CreateSmbHeader(connection, request); TRANS2_SET_PATH_INFORMATION_Response_Trans2_Parameters trans2Parameters = response.Trans2Parameters; trans2Parameters.EaErrorOffset = 0x0000; response.Trans2Parameters = trans2Parameters; response.UpdateCountAndOffset(); return response; }