/// <summary> /// Deep copy constructor. /// </summary> public SmbUnlockByteRangeResponsePacket(SmbUnlockByteRangeResponsePacket packet) : base(packet) { this.InitDefaultValue(); this.smbParameters.WordCount = packet.SmbParameters.WordCount; this.smbData.ByteCount = packet.SmbData.ByteCount; }
/// <summary> /// Deep copy constructor. /// </summary> public SmbUnlockByteRangeResponsePacket(SmbUnlockByteRangeResponsePacket packet) : base(packet) { this.InitDefaultValue(); this.smbParameters.WordCount = packet.SmbParameters.WordCount; this.smbData.ByteCount = packet.SmbData.ByteCount; }
public SmbUnlockByteRangeResponsePacket CreateUnlockByteRangeResponse( CifsServerPerConnection connection, SmbUnlockByteRangeRequestPacket request) { SmbUnlockByteRangeResponsePacket response = new SmbUnlockByteRangeResponsePacket(); response.SmbHeader = CifsMessageUtils.CreateSmbHeader(connection, request); return response; }