// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. namespace WixToolset.Dtf.Compression.Zip { using System.Diagnostics.CodeAnalysis; /// /// Identifies the compression method or "algorithm" /// used for a single file within a zip archive. /// /// /// Proprietary zip implementations may define additional compression /// methods outside of those included here. /// public enum ZipCompressionMethod { /// /// The file is stored (no compression) /// Store = 0, /// /// The file is Shrunk /// Shrink = 1, /// /// The file is Reduced with compression factor 1 /// Reduce1 = 2, /// /// The file is Reduced with compression factor 2 /// Reduce2 = 3, /// /// The file is Reduced with compression factor 3 /// Reduce3 = 4, /// /// The file is Reduced with compression factor 4 /// Reduce4 = 5, /// /// The file is Imploded /// Implode = 6, /// /// The file is Deflated; /// the most common and widely-compatible form of zip compression. /// Deflate = 8, /// /// The file is Deflated using the enhanced Deflate64 method. /// Deflate64 = 9, /// /// The file is compressed using the BZIP2 algorithm. /// BZip2 = 12, /// /// The file is compressed using the LZMA algorithm. /// [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Lzma")] Lzma = 14, /// /// The file is compressed using the PPMd algorithm. /// [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Ppmd")] Ppmd = 98 } }