Class ArchiveEntrySettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.2.0)
Settings used to compress or decompress entries.
public class ArchiveEntrySettings
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
ArchiveEntrySettings(CompressionSettings, EncryptionSettings)
Initializes a new instance of the Aspose.Zip.Saving.ArchiveEntrySettings class.
public ArchiveEntrySettings(CompressionSettings compressionSettings = null, EncryptionSettings encryptionSettings = null)
Parameters
compressionSettings
CompressionSettings
Settings for compression. Pass null for default deflate settings.
Can be one of these:
- Aspose.Zip.Saving.DeflateCompressionSettings
- Aspose.Zip.Saving.StoreCompressionSettings
- Aspose.Zip.Saving.Bzip2CompressionSettings
- Aspose.Zip.Saving.LzmaCompressionSettings
- Aspose.Zip.Saving.PPMdCompressionSettings
encryptionSettings
EncryptionSettings
Settings for encryption. Pass null if no need to encrypt or decrypt.
Can be one of these:
- Aspose.Zip.Saving.TraditionalEncryptionSettings
- Aspose.Zip.Saving.AesEcryptionSettings
Properties
CompressionSettings
Gets settings for compression or decompression routine.
public CompressionSettings CompressionSettings { get; }
Property Value
Remarks
Can be one of these:
- Aspose.Zip.Saving.DeflateCompressionSettings
- Aspose.Zip.Saving.StoreCompressionSettings
- Aspose.Zip.Saving.Bzip2CompressionSettings
- Aspose.Zip.Saving.LzmaCompressionSettings
- Aspose.Zip.Saving.PPMdCompressionSettings
EncryptionSettings
Gets settings for encryption or decryption. Settings of particular entry may vary.
public EncryptionSettings EncryptionSettings { get; }
Property Value
Remarks
- Aspose.Zip.Saving.TraditionalEncryptionSettings
- Aspose.Zip.Saving.AesEcryptionSettings