Telerik.Windows.Zip Base class for all block transformations. Gets a value indicating whether the current transform can be reused. true if the current transform can be reused; otherwise, false. Gets a value indicating whether multiple blocks can be transformed. true if multiple blocks can be transformed; otherwise, false. Gets transformation header (if required). Gets the input block size. The size of the input data blocks in bytes. Gets the output block size. The size of the output data blocks in bytes. Gets or sets value which indicates whether the transformation uses input buffer of the fixed size. Releases the resources used by the current instance of the ZipArchive class. Creates transformation header to be written into the output stream. Initialize reading of the transformation header. Process transformation header has been read. Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array. The number of bytes written. The input for which to compute the transform. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. The output to which to write the transform. The offset into the output byte array from which to begin writing data. Transforms the specified region of the specified byte array. The computed transform. The input for which to compute the transform. The offset into the byte array from which to begin using data. The number of bytes in the byte array to use as data. Releases the unmanaged resources used by the transform and optionally releases the managed resources. Value which indicates whether both managed and unmanaged resources (true) on only unmanaged resources (false) should be released. Validates parameters of the input buffer. The input for which to compute the transform. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. Indicates whether buffer block size should be validated. Should be true for the TransformBlock and false for the TransformFinalBlock. Indicates whether count can be zero. Validates parameters of the transform operation. The input for which to compute the transform. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. The output to which to write the transform. The offset into the output byte array from which to begin writing data. Indicates whether input count can be zero. Implements Adler-32 checksum algorithm. Base for modulo arithmetic (largest prime smaller than 65536). Number of iterations we can safely do before applying the modulo. Calculate checksum for the specified region of the input byte array. Checksum to update. The input for which to compute the checksum. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. Updated checksum. Implements CRC-32 checksum algorithm. Calculate checksum for the specified region of the input byte array. Checksum to update. The input for which to compute the checksum. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. Updated checksum. Interface which must be implemented by all implementations of the checksum algorithm. Calculate checksum for the specified region of the input byte array. Checksum to update. The input for which to compute the checksum. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. Updated checksum. Specifies values that indicate compression method. The file is stored (no compression). The file is Deflated. The file is compressed using LZMA algorithm. Represents stream which allows read/write compressed information from/to given input stream. Initializes a new instance of the CompressedStream class. The base input/output stream. Stream operational mode. Compression settings. Specified mode is not allowed for the given stream. Initializes a new instance of the CompressedStream class. The base input/output stream. Stream operational mode. Compression settings. Indicates whether the CRC32 (true) or Adler32 (false) checksum algorithm will be used. Encryption settings. Specified mode is not allowed for the given stream. Initializes a new instance of the CompressedStream class. The base input/output stream. Stream operational mode. Compression algorithm. Checksum algorithm. Specified mode is not allowed for the given stream. Event occurs when calculation of the checksum for this stream is completed. Gets checksum calculated for this stream starting from the first read/write operation and up to the Flush call. Gets the compressed size of the stream. Gets or sets the checksum algorithm will be used during compression-decompression. Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. An array of bytes. When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. The zero-based byte offset in buffer at which to begin storing the data read from the current stream. The maximum number of bytes to be read from the current stream. The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. The associated with current object does not match the underlying stream. For example, this exception is thrown when using with an underlying stream that is write only. The parameter is less than zero.-or- The parameter is less than zero. The sum of the and parameters is larger than the length of the buffer. Sets the length of the current stream. The desired length of the current stream in bytes. Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. An array of bytes. This method copies count bytes from buffer to the current stream. The zero-based byte offset in buffer at which to begin copying bytes to the current stream. The number of bytes to be written to the current stream. Releases the unmanaged resources used by the Stream and optionally releases the managed resources. Value which indicates whether both managed and unmanaged resources (true) on only unmanaged resources (false) should be released. Initialize compressed stream. The base input/output stream. Compression algorithm. Checksum algorithm. Base class for the compression settings. Occurs when a property value changes. Gets or sets compression method. Copy settings from the given base settings. Base settings to copy from. Prepare settings for usage in zip archive entries. Central directory header. Called when property value is changed. Property name. Represents base class for all compression and decompression functionality. Initializes a new instance of the CompressionTransformBase class. Gets a value indicating whether the current transform can be reused. true if the current transform can be reused; otherwise, false. Gets a value indicating whether multiple blocks can be transformed. true if multiple blocks can be transformed; otherwise, false. Gets the input block size. The size of the input data blocks in bytes. Gets the output block size. The size of the output data blocks in bytes. Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array. The number of bytes written. The input for which to compute the transform. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. The output to which to write the transform. The offset into the output byte array from which to begin writing data. Transforms the specified region of the specified byte array. The computed transform. The input for which to compute the transform. The offset into the byte array from which to begin using data. The number of bytes in the byte array to use as data. Releases the unmanaged resources used by the transform and optionally releases the managed resources. Value which indicates whether both managed and unmanaged resources (true) on only unmanaged resources (false) should be released. Transforms current input buffer. The final block flag. True when output still available. Specifies values for header type of the compressed stream. Compressed stream does not contain a header. Compressed stream is formatted in accordance with RFC 1950 (ZLIB Compressed Data Format Specification version 3.3). The compression level to be used for compression of data. The data will be simply stored, no compression should be performed. Same as NoCompression. The fastest but least effective compression. A synonym for Fastest. A little slower, but better, than level 1. A little slower, but better, than level 2. A little slower, but better, than level 3. A little slower than level 4, but with better compression. The default compression level with a good balance of speed and compression efficiency. A synonym for Optimal. Pretty good compression. Better compression than Level7. The best compression, where best means greatest reduction in size of the input data. This is also the slowest compression. A synonym for Best compression level. Class which implements Deflate compression algorithm. Creates a compressor object. A compressor object. Creates a decompressor object. A decompressor object. Initialize compression algorithm using given compression settings. Compression settings. Represents a state of current block. Block is not completed, need more input or more output. Block flush performed. Finish started, need only more output at next deflate. Finish done, accept no more input or output. Compressor which implements Deflate compression. The default number of window bits for the Deflate algorithm. 15 is the maximum number of window bits for the Deflate algorithm (32K window). Initializes a new instance of the DeflateCompressor class. Deflate settings. Creates RFC 1950 (ZLIB Compressed Data Format Specification version 3.3) header to be written into the output stream. Restore the heap property by moving down the tree starting at specified node, exchanging a node with the smallest of its two sons if necessary, stopping when the heap property is re-established (each father smaller than its two sons). The tree. Index of node. Transforms current input buffer. The final block flag. True when still output available. Scan a literal or distance tree to determine the frequencies of the codes in the bit length tree. The tree. Max code. Construct the Huffman tree for the bit lengths. The index of the last bit length code to send. Send the header for a block using dynamic Huffman trees: the counts, the lengths of the bit length codes, the literal tree and the distance tree. Length of literal codes. Length of distance codes. Length of bit length codes. Send a literal or distance tree in compressed form, using the codes in bit length tree. The tree. Max code. Output a block of bytes on the stream. Buffer. Start index. Length. Save the match info and tally the frequency counts. Distance. Length or unmatched char. Return true if the current block must be flushed. Send the block data compressed using the given Huffman trees. Literal tree. Distance tree. Flush the bit buffer and align the output on a byte boundary. Copy a stored block, storing first the length and its one's complement if requested. Buffer. Length. Should send the header. Send a stored block. Offset in window. Length. The flag of last block. Determine the best encoding for the current block: dynamic trees, static trees or store, and output the encoded block. Offset in window. Length. The flag of last block. Fill the window if necessary. Compress as much as possible from the input stream, return the current block state. This function does not perform lazy evaluation of matches and inserts new strings in the dictionary only for unmatched strings or for short matches. It is used only for the fast compression options. Flush flag. Returns the current block state. Copy without compression as much as possible from the input buffer. Flush flag. Returns the current block state. Same as above, but achieves better compression. We use a lazy evaluation for matches: a match is finally adopted only if there is no better match at the next window position. Flush flag. Returns the current block state. Initialize the tree data structures. Sets configuration parameters by the compression level. Compression level. Flush as much pending output as possible. All deflate output goes through this function. Read a new buffer from the current input stream, update total number of bytes read. All deflate input goes through this function. Buffer. Start position in buffer. Size. Represents configuration of deflate algorithm. Use a faster search when the previous match is longer than this reduce lazy search above this match length. Attempt to find a better match only when the current match is strictly smaller than this value. This mechanism is used only for compression levels >= 4. For levels 1,2,3: MaxLazy is actually MaxInsertLength (See DeflateFast). Do not perform lazy search above this match length. Quit search above this match length. To speed up deflation, hash chains are never searched beyond this length. A higher limit improves compression ratio but degrades the speed. Returns instance of Config class by the compression level. Compression level. Instance of Config class. Represents constants for deflate compression. The file is stored (no compression). Z-lib header: the deflate compression method. Bit length codes must not exceed MaxBitLengthBits bits. Repeat previous bit length 3-6 times (2 bits of repeat count). Repeat a zero length 3-10 times (3 bits of repeat count). Repeat a zero length 11-138 times (7 bits of repeat count). Decompressor which implements Deflate compression. Initializes a new instance of the DeflateDecompressor class. Deflate settings. Represents a state of decompressor process. Represents a type of block in deflated data. Gets the output block size. The size of the output data blocks in bytes. Initialize reading of the transformation header. Process transformation header has been read. Transforms current input buffer. The final block flag. True when still output available. Compression settings of the Deflate method. Initializes a new instance of the DeflateSettings class. The compression level of deflate algorithm to be used for deflating by a CompressedStream. Gets or sets compression stream header type. Copy settings from the given base settings. Base settings to copy from. Prepare settings for usage in zip archive entries. Central directory header. Represents base class for Deflate compression and decompression functionality. Initializes a new instance of the DeflateTransformBase class. Deflate settings. Inflates data using a lookup table combined with a HuffmanTree. Initializes static members of the InflateTree class. Initializes a new instance of the InflateTree class. Tries to get enough bits from input and try to decode them. Input buffer. Next symbol or -1 when there is no enough bits in input. Calculate the huffman codes according to RFC 1951. Huffman codes. Represents input buffer for inflating data using Huffman coding. Initializes a new instance of the InputBitsBuffer class. Available bits in bit buffer. Available bytes. Is input required. Checks available bits in the bit buffer. Count of bits. True if available. Gets available bits from buffer. Count of required bits. Bits data. Read bytes to output buffer. Output buffer. Offset. Length. Count of bytes which are read. Set current working buffer. Bytes buffer. Offset. Length. Skips bits in bit buffer. Count of bits to skip. Skips to the next byte boundary. Gets 16 or more bits into bit buffer. Bit buffer. Represents output window for inflating data using Huffman coding. Initializes a new instance of the OutputWindow class. Gets available bytes count. Gets free bytes count. Adds a byte to output window. Byte. Copies bytes within output window. Moves backwards distance bytes and copy length bytes. Length. Distance. Read bytes to output buffer. Output buffer. Offset. Length. Count of bytes which are read. Reads bytes from input. InputBitsBuffer. Length. Count of read bytes. Represents Huffman static tree. Initializes static members of the StaticTree class. Initializes a new instance of the StaticTree class. Static tree. Extra bits for each code. Base index for extra bits. Max number of elements in the tree. Max bit length for the codes. Deflates data using Huffman coding. Reverse the first specified bits of a code, using straightforward code (a faster method would use a table). Value. The length of bits to reverse. Result of reverse. Map from a distance to a distance code. No side effects. DistanceCode[256] and DistanceCode[257] are never used. Construct one Huffman tree and assigns the code bit strings and lengths. Update the total bit length for the current block. Deflate compressor. Generate the codes for a given tree and bit counts (which need not be optimal). The tree. Max code. Bit length count. Compute the optimal bit lengths for a tree and update the total bit length for the current block. Deflate compressor. Interface which must be implemented by all implementations of the compression algorithm. Creates a compressor object. A compressor object. Creates a decompressor object. A decompressor object. Initialize compression algorithm using given compression settings. Compression settings. The Optimization Data for LZMA match finder. Class which implements Deflate compression algorithm. Creates a compressor object. A compressor object. Creates a decompressor object. A decompressor object. Initialize compression algorithm using given compression settings. Compression settings. Compressor which implements LZMA compression. Initializes a new instance of the class. Settings. Gets the output block size. The size of the output data blocks in bytes. Creates transformation header to be written into the output stream. Transforms current input buffer. The final block flag. True when output still available. Releases the unmanaged resources used by the transform and optionally releases the managed resources. Value which indicates whether both managed and unmanaged resources (true) on only unmanaged resources (false) should be released. Decompressor which implements LZMA decompression algorithm. Initializes a new instance of the class. Settings. Represents a state of decompressor process. Gets the output block size. The size of the output data blocks in bytes. Initialize reading of the transformation header. Process transformation header has been read. Specifies values for a type of the match finder for LZMA compression. The match finder uses two bytes for the hash. The match finder uses four bytes for the hash. Compression settings of the Deflate method. Initializes a new instance of the class. Gets or sets dictionary size [0 - 27]. Default value is 23 (8MB). Gets or sets number of position state bits for LZMA [0 - 4]. Default value is 2. Gets or sets number of literal context bits for LZMA [0 - 8]. Default value is 3. Gets or sets number of literal position bits for LZMA [0 - 4]. Default value is 3. Gets or sets number of fast bytes [5 - 273]. Default value is 32. Gets or sets a type of the match finder. Gets or sets length of the stream for compressing. Used for single compressed streams only (not for ZIP archives). Allows to avoid using the end of stream marker for compressed stream. If it is set to -1, then the marker will be used. Gets or sets length of the stream for decompressing. Gets or sets a value which indicates whether the compression stream should use zip header type. Copy settings from the given base settings. Base settings to copy from. Prepare settings for usage in zip archive entries. Central directory header. Represents LZMA state for compressing and for decompressing. Represents base class for LZMA compression and decompression functionality. Initializes a new instance of the class. Settings. Represents the LZMA range encoder. Class which implements Store (no compression) algorithm. Creates a compressor object. A compressor object. Creates a decompressor object. A decompressor object. Initialize compression algorithm using given compression settings. Compression settings. Compressor which implements Store compression. Decompressor which implements Store compression. Compression settings of the Store method. Initializes a new instance of the StoreSettings class. Base class for the Store (no compression) transformation. Initializes a new instance of the StoreTransformBase class. Gets a value indicating whether the current transform can be reused. true if the current transform can be reused; otherwise, false. Gets a value indicating whether multiple blocks can be transformed. true if multiple blocks can be transformed; otherwise, false. Gets the input block size. The size of the input data blocks in bytes. Gets the output block size. The size of the output data blocks in bytes. Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array. The number of bytes written. The input for which to compute the transform. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. The output to which to write the transform. The offset into the output byte array from which to begin writing data. Transforms the specified region of the specified byte array. The computed transform. The input for which to compute the transform. The offset into the byte array from which to begin using data. The number of bytes in the byte array to use as data. Releases the unmanaged resources used by the transform and optionally releases the managed resources. Value which indicates whether both managed and unmanaged resources (true) on only unmanaged resources (false) should be released. Platform independent manager. Gets a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization. Gets default encoding for this platform. Gets a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization. Creates temporary stream. Stream will be used for temporary operations. Deletes temporary stream. Stream to delete. Gets crypto provider initialized using given encryption settings. Encryption settings. Crypto provider. Specified crypto algorithm is not supported. Indicates whether specified encoding is supported for this platform. Encoding. true if encoding is allowed in the ZIP file. Cryptographic stream. Allows encrypt or decrypt information from the given input stream. Initializes a new instance of the CryptoStream class. Input stream. Stream operational mode. Crypto provider. Specified mode is not allowed for the given stream. Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. Releases the unmanaged resources used by the Stream and optionally releases the managed resources. Value which indicates whether both managed and unmanaged resources (true) on only unmanaged resources (false) should be released. Crypto provider which implements traditional PKWARE encryption. Creates an decryptor object. A decryptor object. Creates an encryptor object. Initialize crypto provider using given encryption settings. Encryption settings. Base class for the transformations which implements traditional PKWARE encryption/decryption. Initializes a new instance of the DefaultCryptoTransformBase class. Gets a value indicating whether the current transform can be reused. true if the current transform can be reused; otherwise, false. Gets a value indicating whether multiple blocks can be transformed. true if multiple blocks can be transformed; otherwise, false. Gets the input block size. The size of the input data blocks in bytes. Gets the output block size. The size of the output data blocks in bytes. Gets encoding byte. Creates transformation header to be written into the output stream. Initialize reading of the transformation header. Process transformation header has been read. Releases the unmanaged resources used by the transform and optionally releases the managed resources. Value which indicates whether both managed and unmanaged resources (true) on only unmanaged resources (false) should be released. Update encryption keys. Byte. Crypto transformation which implements traditional PKWARE decryption. Initializes a new instance of the DefaultDecryptor class. Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array. The number of bytes written. The input for which to compute the transform. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. The output to which to write the transform. The offset into the output byte array from which to begin writing data. Transforms the specified region of the specified byte array. The computed transform. The input for which to compute the transform. The offset into the byte array from which to begin using data. The number of bytes in the byte array to use as data. Encryption settings for the default cryptographic provider (traditional PKWARE encryption. Initializes a new instance of the DefaultEncryptionSettings class. Gets or sets password will be used for encryption/decryption. Gets or sets last modification file date and time. Crypto transformation which implements traditional PKWARE encryption. Initializes a new instance of the DefaultEncryptor class. Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array. The number of bytes written. The input for which to compute the transform. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. The output to which to write the transform. The offset into the output byte array from which to begin writing data. Transforms the specified region of the specified byte array. The computed transform. The input for which to compute the transform. The offset into the byte array from which to begin using data. The number of bytes in the byte array to use as data. Base class for the encryption settings. Occurs when a property value changes. Gets name of the algorithm will be used for encryption/decryption. Called when property value is changed. Property name. Interface which provides method to encrypt/decrypt data in the ZIP archive. Creates an decryptor object. A decryptor object. Creates an encryptor object. An encryptor object. Initialize crypto provider using given encryption settings. Encryption settings. Defines the basic operations of the cryptographic or compression transformations. Gets a value indicating whether the current transform can be reused. true if the current transform can be reused; otherwise, false. Gets a value indicating whether multiple blocks can be transformed. true if multiple blocks can be transformed; otherwise, false. Gets transformation header (if required). Gets the input block size. The size of the input data blocks in bytes. Gets the output block size. The size of the output data blocks in bytes. Creates transformation header to be written into the output stream. Initialize reading of the transformation header. Process transformation header has been read. Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array. The number of bytes written. The input for which to compute the transform. The offset into the input byte array from which to begin using data. The number of bytes in the input byte array to use as data. The output to which to write the transform. The offset into the output byte array from which to begin writing data. Transforms the specified region of the specified byte array. The computed transform. The input for which to compute the transform. The offset into the byte array from which to begin using data. The number of bytes in the byte array to use as data. The exception that is thrown when a data stream is in an invalid format. Initializes a new instance of the class. Initializes a new instance of the class with a specified error message. The error message that explains the reason for the exception. Initializes a new instance of the class with a reference to the inner exception that is the cause of this exception. The error message that explains the reason for the exception. The exception that is the cause of the current exception. If the parameter is not null, the current exception is raised in a catch block that handles the inner exception. Interface which provides platform-specific operations. Gets a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization. Gets default encoding for this platform. Gets a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization. Creates temporary stream. Stream will be used for temporary operations. Deletes temporary stream. Stream to delete. Gets crypto provider initialized using given encryption settings. Encryption settings. Crypto provider. Specified crypto algorithm is not supported. Indicates whether specified encoding is supported for this platform. Common interface for the data structures defined in the ZIP File Format Specification. Read data from the binary reader. Binary reader to read data from. true if success, otherwise false. Write data to the binary writer. Binary writer to write data to. Represents the compression types. This is the default compression type which uses the deflate algorithm. This compression type uses the LZMA algorithm. Represents the compression methods. This is the default compression method. This is the no-compression method. This is the fastest compression method. This is a custom compression method. This is a custom compression method. This is a custom compression method. This is a custom compression method. This is a custom compression method. This is a custom compression method. This is the the best compression method. This is the the best compression method. Represents a stream that can read from a compressed stream. Initializes a new instance of the ZipInputStream class. The stream that will be decompressed. The stream that is decompressed. Gets the uncompressed size of the stream. Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. The unsigned byte cast to an 32-bit integer, or -1 if at the end of the stream. Represents a stream that can write into a compressed stream. Initializes a new instance of the ZipOutputStream class. The stream that will be compressed. Initializes a new instance of the ZipOutputStream class. The stream that will be compressed. /// The compression method. Initializes a new instance of the ZipOutputStream class. The stream that will be compressed. /// The compression level. The stream that is decompressed. Gets the uncompressed size of the stream. Writes a byte to the current position in the stream and advances the position within the stream by one byte. The byte to write to the stream. Create DeflateSettings for specified compression level. Compression level. DeflateSettings. Represents the ZipPackage class. Initializes a new instance of the ZipPackage class from the specified stream. The stream that contains the archive to be read. Mode. Gets the file name for the ZipPackage. Gets the collection of entries that are currently in the zip archive. The zip archive does not support reading. The zip archive has been disposed. The zip archive is corrupt, and its entries cannot be retrieved. This method is used to create a ZipPackage from a stream. Stream. ZipPackage instance. This method is used to create a ZipPackage with the passed file name. File name. ZipPackage instance. Checks whether the stream that represents a zip file is actually a zip file. Stream. True if the stream represents a zip file. Checks whether the file with the passed file name is actually a zip file. File name. True if the file represents a zip file. Opens zip archive from the Stream. Stream. ZipPackage instance. This method is used to open a ZipPackage with the passed file name. File name. File access. ZipPackage instance. Adds a file with the passed file name in the ZipPackage. File name. Adds a file with the passed file name in the ZipPackage. Adds the files from the passed IEnumerable of file names in the ZipPackage. Adds the files from the passed IEnumerable of file names in the ZipPackage. Adds a file with the passed file name in the ZipPackage and associates it with the passed file name in zip. Adds a file with the passed file name in the ZipPackage and associates it with the passed file name in zip. Adds a file with the passed file name in the ZipPackage, associates it with the passed file name in zip and sets a date time for the entry. Adds a file with the passed file name in the ZipPackage, associates it with the passed file name in zip and sets a date time for the entry. Adds a stream in the ZipPackage and associates it with the passed file name in zip. Stream. File name in zip archive. Adds a stream in the ZipPackage and associates it with the passed file name in zip. Stream. File name in zip archive. Compression type. Adds a stream in the ZipPackage, compresses it with the passed compress method, associates it with the passed file name in zip and sets a date time for the entry. Stream. File name in zip archive. Compression level. Date and time of file. Adds a stream in the ZipPackage and associates it with the passed file name in zip. Stream. File name in zip archive. Compression level. Date and time of file. Compression type. Closes the ZipPackage. If the parameter is set to true then closes the file. Gets the index of the entry in the list of entries of the ZipPackage. File name in zip archive. Index of entry or -1 when the entry is not found. Removes the passed entry from the ZipPackage. Represents the ZipPackageEntry class. Initializes a new instance of the ZipPackageEntry class. ZipArchiveEntry. Gets the file attributes for the entry. Gets the compressed size for the entry. Gets the file name in the ZipPackage for the entry. Gets the uncompressed size for the entry. Opens the entry from the zip archive. The stream that represents the contents of the entry. Deletes the entry. Operational stream. Base class for cryptographic and compression streams. Initializes a new instance of the OperationStream class. The base input/output stream. Stream operational mode. Specified mode is not allowed for the given stream. Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. Gets a value indicating whether the current stream supports reading. Gets a value indicating whether the current stream supports seeking. Gets a value indicating whether the current stream supports writing. Gets a value which indicates whether the final buffer block has been written/read to/from the underlying stream. true if the final block has been flushed or end of underlying stream is reached; otherwise, false. Gets the length in bytes of the stream. Gets or sets the position within the current stream. Gets value which specify total plain bytes count (not-compressed and not-encrypted). Gets value which specify total transformed bytes count (compressed or encrypted). Gets input stream. Gets stream mode. Gets or sets value which indicates whether this stream is disposed already. Gets or sets block transformation is used for read/write operations. Clears all buffers for this stream and causes any buffered data to be written to the underlying device. Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. An array of bytes. When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. The zero-based byte offset in buffer at which to begin storing the data read from the current stream. The maximum number of bytes to be read from the current stream. The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. The associated with current object does not match the underlying stream. For example, this exception is thrown when using with an underlying stream that is write only. The parameter is less than zero.-or- The parameter is less than zero. The sum of the and parameters is larger than the length of the buffer. Sets the position within the current stream. A byte offset relative to the origin parameter. A value of type SeekOrigin indicating the reference point used to obtain the new position. The new position within the current stream. Sets the length of the current stream. The desired length of the current stream in bytes. Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. An array of bytes. This method copies count bytes from buffer to the current stream. The zero-based byte offset in buffer at which to begin copying bytes to the current stream. The number of bytes to be written to the current stream. Validate read/write operation parameters. Operation buffer. Offset. Count. Indicates whether count can be zero. Updates the underlying data source or repository with the current state of the buffer, then clears the buffer. The current stream is not writable.-or- The final block has already been transformed. Ensure that current stream is not disposed. Releases the unmanaged resources used by the Stream and optionally releases the managed resources. Value which indicates whether both managed and unmanaged resources (true) on only unmanaged resources (false) should be released. Initialize internal buffers. Initialize transformation. Read transformation header. Write transformation header. Static class which provides access to the platform-specific settings for all parts of the ZIP library. Gets or sets platform manager. Operational mode of the cryptographic and compression streams. Read operation is allowed. Write operation is allowed. Represents header of the transformation. The extra data precedes the transformed data which provides some additional information about transformation (compression or encryption). Initializes a new instance of the TransformationHeader class. Gets or sets buffer to store header information. Gets or sets number of byte to read. Gets initialization data of the header. Gets length of the transformation header. Gets or sets the flag which indicates that the compressed size should include the header size. Represents data descriptor record described in the ZIP File Format Specification v6.3.3, #4.3.9. Data descriptor header signature. Read data from the binary reader. Binary reader to read data from. True if success, otherwise false. Write data to the binary writer. Binary writer to write data to. Represents base fields of data descriptor record described in the ZIP File Format Specification v6.3.3, #4.3.9. Gets or sets crc-32. Gets or sets compressed size. Gets or sets uncompressed size. Read data from the binary reader. Binary reader to read data from. Read data from the binary reader. Binary reader to read data from. Write data to the binary writer. Binary writer to write data to. Represents Zip64 end of central directory locator described in the ZIP File Format Specification v6.3.3, #4.3.15. Zip64 end of central directory locator signature. Size of the data block without signature and variable size fields. Gets or sets number of the disk with the start of the zip64 end of central directory. Gets or sets relative offset of the zip64 end of central directory record. Gets or sets number of disks. Read data from the binary reader. Binary reader to read data from. True if success, otherwise false. Write data to the binary writer. Binary writer to write data to. Represents Zip64 end of central directory record described in the ZIP File Format Specification v6.3.3, #4.3.14. Zip64 end of central directory record signature. Gets or sets size of zip64 end of central directory record. Gets or sets byte which indicates the ZIP specification version supported by the software used to encode the file. Gets or sets byte which indicates the compatibility of the file attribute information. Gets or sets version needed to extract. Gets or sets number of this disk. Gets or sets number of the disk with the start of the central directory. Gets or sets total number of entries in the central directory on this disk. Gets or sets total number of entries in the central directory. Gets or sets size of the central directory. Gets or sets offset of start of central directory with respect to the starting disk number. Read data from the binary reader. Binary reader to read data from. True if success, otherwise false. Write data to the binary writer. Binary writer to write data to. Represents a package of compressed files in the zip archive format. Value that describes the type of action the zip archive can perform on entries. Binary reader is used to read from working stream. Binary writer is used to write to working stream. Track whether Dispose has been called. Encoding of the entry name. Original archive stream. If this stream doesn't support seeking then temporary working stream will be created. Working archive stream. If original stream doesn't support seeking then temporary working stream will be created. True to leave the stream open after the ZipArchive object is disposed; otherwise, false. Indicates whether the central directory have been read. ZIP Archive End of Central Directory. ZIP64 End of Central Directory Locator. ZIP64 End of Central Directory Record. ZIP entries. Initializes a new instance of the ZipArchive class from the specified stream. The stream that contains the archive to be read. Initializes a new instance of the ZipArchive class. The stream that contains the archive to be read. One of the enumeration values that indicates whether the zip archive is used to read, create, or update entries. True to leave the stream open after the ZipArchive object is disposed; otherwise, false. The encoding to use when reading or writing entry names in this archive. Specify a value for this parameter only when an encoding is required for interoperability with zip archive tools and libraries that do not support UTF-8 encoding for entry names. Initializes a new instance of the ZipArchive class. The stream that contains the archive to be read. One of the enumeration values that indicates whether the zip archive is used to read, create, or update entries. True to leave the stream open after the ZipArchive object is disposed; otherwise, false. The encoding to use when reading or writing entry names in this archive. Specify a value for this parameter only when an encoding is required for interoperability with zip archive tools and libraries that do not support UTF-8 encoding for entry names. Compression settings. Encryption settings. Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. Occurs when a property value changes. Gets the collection of entries that are currently in the zip archive. The zip archive does not support reading. The zip archive has been disposed. The zip archive is corrupt, and its entries cannot be retrieved. Gets entry name encoding. Gets a value that describes the type of action the zip archive can perform on entries. Gets compression settings. Gets encryption settings. Gets number of the disk. Gets reader for the working stream. Gets writer for the working stream. Gets start of the central directory. Creates an empty entry that has the specified path and entry name in the zip archive. A path, relative to the root of the archive, that specifies the name of the entry to be created. An empty entry in the zip archive. The entry name is empty. The entry name is null. The zip archive does not support writing. The zip archive has been disposed. Creates an empty entry that has the specified path and entry name in the zip archive. A path, relative to the root of the archive, that specifies the name of the entry to be created. Compression settings. An empty entry in the zip archive. The entry name is empty. The entry name is null. The zip archive does not support writing. The zip archive has been disposed. Releases the resources used by the current instance of the ZipArchive class. Retrieves a wrapper for the specified entry in the zip archive. A path, relative to the root of the archive, that identifies the entry to retrieve. A wrapper for the specified entry in the archive; null if the entry does not exist in the archive. The entry name is empty. The entry name is null. The zip archive does not support reading. The zip archive has been disposed. The zip archive is corrupt, and its entries cannot be retrieved. Release the unmanaged resources used by the current instance of the ZipArchive class. True to leave the stream open after the ZipArchive object is disposed; otherwise, false. Called by the Dispose() and Finalize() methods to release the unmanaged resources used by the current instance of the ZipArchive class, and optionally finishes writing the archive and releases the managed resources. True to finish writing the archive and release unmanaged and managed resources; false to release only unmanaged resources. Dispose streams. Writes archive to the original stream. Represents a compressed file within a zip archive. Track whether Dispose has been called. Initializes a new instance of the ZipArchiveEntry class. Zip archive. Central directory header correspondent to this entry. Initializes a new instance of the ZipArchiveEntry class. Zip archive. Entry name. Occurs when a property value changes. The zip archive that the entry belongs to, or null if the entry has been deleted. Gets compressed size of the entry in the zip archive. Gets or sets external file attributes. Gets the relative path of the entry in the zip archive. Gets or sets the last time the entry in the zip archive was changed. Gets the uncompressed size of the entry in the zip archive. Gets the file name of the entry in the zip archive. Gets or sets compression method. Gets or sets offset of the compressed data. Gets disk start number. Gets or sets offset of the local header. Gets temporary stream which contains uncompressed data for update. Deletes the entry from the zip archive. The entry is already open for reading or writing. The zip archive for this entry was opened in a mode other than Update. The zip archive for this entry has been disposed. Releases the resources used by the current instance of the ZipArchiveEntry class. Opens the entry from the zip archive. The stream that represents the contents of the entry. The resulting stream depends on the zip archive mode. If zip archive mode is then read-only stream without seeking support is returned (). If zip archive mode is then write-only stream without seeking support is returned (). If zip archive mode is then read/write stream which supports seeking is returned. The entry is already currently open for writing. -or- The entry has been deleted from the archive. -or- The archive for this entry was opened with the Create mode, and this entry has already been written to. The entry is either missing from the archive or is corrupt and cannot be read. -or- The entry has been compressed by using a compression method that is not supported. The zip archive for this entry has been disposed. Checks entry integrity. Message will be thrown if entry don't pass integrity check. True - if entry is OK; false - otherwise. Writes central directory header. Called by the Dispose() and Finalize() methods to release the unmanaged resources used by the current instance of the ZipArchive class, and optionally finishes writing the archive and releases the managed resources. True to finish writing the archive and release unmanaged and managed resources; false to release only unmanaged resources. Specifies values for interacting with zip archive entries. Only creating new archive entries is permitted. Only reading archive entries is permitted. Both read and write operations are permitted for archive entries. Provides common internal static methods. Copy specified number of bytes from one stream to another. Input stream. Output stream. Number of bytes to copy. Converts .NET DateTime structure to the MS-DOS date-time. DateTime structure to convert. Packed date-time. Gets compression algorithm which corresponds to the given compression settings. Compression settings to get algorithm for. Compression algorithm. Compression method is not supported. Gets compression settings for the specified compression method. Compression method to get settings for. Base settings to copy parameters from. Compression settings. Compression method is not supported. Detect whether the given path string ends with directory separator char (i.e. given path represents directory). Path string. True if path string ends with directory separator char; otherwise - false. Gets value which indicates whether specified compression method is supported. Compression method to check. True - if compression method is supported; false - otherwise. Converts MS-DOS date-time to the .NET DateTime structure. Packed date-time to convert. DataTime structure. Read specified number of bytes from the given stream to the buffer. Stream to read data from. Buffer to write data to. Number of bytes to read. Seek given stream backward to the data signature. Stream to seek. Signature to find. true if signature is found, otherwise false. Represents central directory header record described in the ZIP File Format Specification v6.3.3, #4.3.12. Central directory header signature. Size of the data block without signature and variable size fields. Gets or sets byte which indicates the ZIP specification version supported by the software used to encode the file. Gets or sets byte which indicates the compatibility of the file attribute information. Gets or sets disk number start. Gets or sets internal file attributes. Gets or sets external file attributes. Gets or sets relative offset of local header. Gets or sets file comment. Read data from the binary reader. Binary reader to read data from. True if success, otherwise false. Write data to the binary writer. Binary writer to write data to. Represents data descriptor record described in the ZIP File Format Specification v6.3.3, #4.3.9. Data descriptor header signature. Size of the data block without signature and variable size fields. Gets or sets compressed size. Gets or sets uncompressed size. Read data from the binary reader. Binary reader to read data from. True if success, otherwise false. Write data to the binary writer. Binary writer to write data to. Copy properties from the given file header to this object. File header to copy properties from. Represents base fields of data descriptor record described in the ZIP File Format Specification v6.3.3, #4.3.9. Gets or sets crc-32. Gets or sets compressed size. Gets or sets uncompressed size. Read data from the binary reader. Binary reader to read data from. Read data from the binary reader. Binary reader to read data from. Write data to the binary writer. Binary writer to write data to. Represents general purpose bit flag for Methods 8 and 9 - Deflating ZIP File Format Specification v6.3.3, #4.4.4. Bit 2 Bit 1 0 0 Normal (-en) compression option was used. Bit 2 Bit 1 0 1 Maximum (-exx/-ex) compression option was used. Bit 2 Bit 1 1 0 Fast (-ef) compression option was used. Bit 2 Bit 1 1 1 Super Fast (-es) compression option was used. Represents end of central directory record described in the ZIP File Format Specification v6.3.3, #4.3.16. End of central directory signature. Size of the data block without signature and variable size fields. Gets or sets number of this disk. Gets or sets number of the disk with the start of the central directory. Gets or sets total number of entries in the central directory on this disk. Gets or sets total number of entries in the central directory. Gets or sets size of the central directory. Gets or sets offset of start of central directory with respect to the starting disk number. Gets or sets .ZIP file comment. Read data from the binary reader. Binary reader to read data from. true if success, otherwise false. Write data to the binary writer. Binary writer to write data to. Represents base class for extra field described in the ZIP File Format Specification v6.3.3, #4.5.2. Gets or sets vendor version for this record. Gets or sets signature (AE). Gets or sets bit length of encryption key. 1 - 128-bit , 2 - 192-bit , 3 - 256-bit. Gets or sets method. Gets extra field type (Header ID). Gets extra field data. Byte array of extra field data. Implements parsing of extra field data. Extra field data. Represents base class for extra field described in the ZIP File Format Specification v6.3.3, #4.5.2. Gets known extra field type. Gets extra field type (Header ID). Gets extra field collection. The header info. IEnumerable of ExtraFieldBase instances. Gets extra field data. Extra field collection. Extra field data. Should implement parsing of extra field data. Extra field data. Gets extra field data. Byte array of extra field data. Represents extra field type (Header ID) described in the ZIP File Format Specification v6.3.3, #4.5.2. Unknown extra field type. Zip64 extra field type. Ntfs extra field type. StrongEncryption extra field type. UnixTime extra field type. AesEncryption extra field type. Represents strong encryption extra field described in the ZIP File Format Specification v6.3.3, #4.5.12. Gets or sets format definition for this record. Gets or sets encryption algorithm identifier. Gets or sets bit length of encryption key. Gets or sets processing flags. Gets extra field type (Header ID). Gets extra field data. Byte array of extra field data. Implements parsing of extra field data. Extra field data. Represents base class for extra field described in the ZIP File Format Specification v6.3.3, #4.5.2. Initializes a new instance of the UnknownExtraField class. Header Id. Gets extra field type (Header ID). Gets or sets extra field data. Gets extra field data. Byte array of extra field data. Implements parsing of extra field data. Extra field data. Represents Zip64 Extended Information Extra Field described in the ZIP File Format Specification v6.3.3, #4.5.3. Gets or sets original uncompressed file size. Gets or sets size of compressed data. Gets or sets offset of local header record. Gets or sets number of the disk on which this file starts. Gets extra field type (Header ID). Gets extra field data. Byte array of extra field data. Implements parsing of extra field data. Extra field data. Represents file header base class for the local file header and central directory header which are described in the ZIP File Format Specification v6.3.3, #4.3.7 and #4.3.12. Gets or sets version needed to extract. Gets or sets general purpose bit flag. Gets or sets compression method. Gets or sets last modification file date and time. Gets or sets file name. Gets or sets extra fields data. The extra fields data. Gets or sets list of extra fields. Copy properties from the given file header to this object. File header to copy properties from. Read data from the binary reader. Binary reader to read data from. Read data from the binary reader. Binary reader to read data from. Write data to the binary writer. Binary writer to write data to. Write data to the binary writer. Binary writer to write data to. Represents general purpose bit flag in the ZIP File Format Specification v6.3.3, #4.4.4. Bit 0: If set, indicates that the file is encrypted. Bit 3: If this bit is set, the fields crc-32, compressed size and uncompressed size are set to zero in the local header. The correct values are put in the data descriptor immediately following the compressed data. Note: PKZIP version 2.04g for DOS only recognizes this bit for method 8 compression, newer versions of PKZIP recognize this bit for any compression method. Bit 4: Reserved for use with method 8, for enhanced deflating. Bit 5: If this bit is set, this indicates that the file is compressed patched data. Note: Requires PKZIP version 2.70 or greater. Bit 6: Strong encryption. If this bit is set, you MUST set the version needed to extract value to at least 50 and you MUST also set bit 0. If AES encryption is used, the version needed to extract value MUST be at least 51. See the section describing the Strong Encryption Specification for details. Refer to the section in this document entitled "Incorporating PKWARE Proprietary Technology into Your Product" for more information. Bit 11: Language encoding flag (EFS). If this bit is set, the filename and comment fields for this file MUST be encoded using UTF-8 (see APPENDIX D). Bit 13: Set when encrypting the Central Directory to indicate selected data values in the Local Header are masked to hide their actual values. See the section describing the Strong Encryption Specification for details. Refer to the section in this document entitled "Incorporating PKWARE Proprietary Technology into Your Product" for more information. Represents general purpose bit flag for the Method 6 - Imploding ZIP File Format Specification v6.3.3, #4.4.4. For Method 6 - Imploding. Bit 1: If the compression method used was type 6, Imploding, then this bit, if set, indicates an 8K sliding dictionary was used. If clear, then a 4K sliding dictionary was used. For Method 6 - Imploding. Bit 2: If the compression method used was type 6, Imploding, then this bit, if set, indicates 3 Shannon-Fano trees were used to encode the sliding dictionary output. If clear, then 2 Shannon-Fano trees were used. Represents local file header record described in the ZIP File Format Specification v6.3.3, #4.3.7. Local file header signature. Size of the data block without signature and variable size fields. Initializes a new instance of the LocalFileHeader class. Initializes a new instance of the LocalFileHeader class. File header to copy properties from. Read data from the binary reader. Binary reader to read data from. True if success, otherwise false. Write data to the binary writer. Binary writer to write data to. Represents general purpose bit flag for the Method 14 - LZMA ZIP File Format Specification v6.3.3, #4.4.4. Bit 1: If the compression method used was type 14, LZMA, then this bit, if set, indicates an end-of-stream (EOS) marker is used to mark the end of the compressed data stream. If clear, then an EOS marker is not present and the compressed data size must be known to extract. Version needed to extract.