Class ArchiveEntrySettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
Nastavení používaná k kompresi nebo dekompresi položek.
public class ArchiveEntrySettings
Dědičnost
Děděné členy
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktor
ArchiveEntrySettings(CompressionSettings, EncryptionSettings)
Inicializuje novou instanci třídy Aspose.Zip.Saving.ArchiveEntrySettings.
public ArchiveEntrySettings(CompressionSettings compressionSettings = null, EncryptionSettings encryptionSettings = null)
Parametry
compressionSettings
CompressionSettings
Nastavení pro kompresi. Předávejte null pro výchozí nastavení deflaci.
Může být jedním z těchto:
- Aspose.Zip.Saving.DeflateCompressionSettings
- Aspose.Zip.Saving.StoreCompressionSettings
- Aspose.Zip.Saving.Bzip2CompressionSettings
- Aspose.Zip.Saving.LzmaCompressionSettings
- Aspose.Zip.Saving.PPMdCompressionSettings
encryptionSettings
EncryptionSettings
Nastavení pro šifrování. Předávejte null, pokud není potřeba šifrovat nebo dešifrovat.
Může být jedním z těchto:
- Aspose.Zip.Saving.TraditionalEncryptionSettings
- Aspose.Zip.Saving.AesEcryptionSettings
Vlastnosti
CompressionSettings
Získává nastavení pro rutinu komprese nebo dekomprese.
public CompressionSettings CompressionSettings { get; }
Hodnota vlastnosti
Poznámky
Může být jedním z těchto:
- Aspose.Zip.Saving.DeflateCompressionSettings
- Aspose.Zip.Saving.StoreCompressionSettings
- Aspose.Zip.Saving.Bzip2CompressionSettings
- Aspose.Zip.Saving.LzmaCompressionSettings
- Aspose.Zip.Saving.PPMdCompressionSettings
EncryptionSettings
Získává nastavení pro šifrování nebo dešifrování. Nastavení konkrétní položky se může lišit.
public EncryptionSettings EncryptionSettings { get; }
Hodnota vlastnosti
Poznámky
- Aspose.Zip.Saving.TraditionalEncryptionSettings
- Aspose.Zip.Saving.AesEcryptionSettings