namespace SabreTools.Data.Models.PKZIP
{
///
/// The following is the layout of the Patch Descriptor
/// "extra" block.
///
/// Patch support is provided by PKPatchMaker(tm) technology
/// and is covered under U.S. Patents and Patents Pending. The use or
/// implementation in a product of certain technological aspects set
/// forth in the current APPNOTE, including those with regard to
/// strong encryption or patching requires a license from PKWARE.
/// Refer to the section in this document entitled "Incorporating
/// PKWARE Proprietary Technology into Your Product" for more
/// information.
///
/// Header ID = 0x000F
///
public class PatchDescriptorExtraField : ExtensibleDataField
{
///
/// Version of the descriptor
///
public ushort Version { get; set; }
///
/// Actions and reactions
///
public ActionsReactions Flags { get; set; }
///
/// Size of the file about to be patched
///
public uint OldSize { get; set; }
///
/// 32-bit CRC of the file to be patched
///
public uint OldCRC { get; set; }
///
/// Size of the resulting file
///
public uint NewSize { get; set; }
///
/// 32-bit CRC of the resulting file
///
public uint NewCRC { get; set; }
}
}