Class SevenZipEntrySettings
Namn på plats: Aspose.Zip.Saving Sammanfattning: Aspose.Zip.dll (25.5.0)
Inställningar som används för att komprimera eller dekomprimera 7Z-innehåll.
public class SevenZipEntrySettings
Inheritance
object ← SevenZipEntrySettings
Arvsmedlemmar
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
SevenZipEntrySettings(SevenZipCompressionSettings, SevenZipEncryptionSettings)
Initialiserar en ny instans av Aspose.Zip.Saving.SevenZipEntrySettings klass.
public SevenZipEntrySettings(SevenZipCompressionSettings compressionSettings = null, SevenZipEncryptionSettings encryptionSettings = null)
Parameters
compressionSettings
SevenZipCompressionSettings
Pass null för standard LZMA-inställningar.
Kan vara en av dessa:
- Aspose.Zip.Saving.SevenZipLZMACompressionSettings
- Aspose.Zip.Saving.SevenZipLZMA2Kompressioninställningar
- Aspose.Zip.Saving.SevenZipBZip2Kompressioninställningar
- Aspose.Zip.Saving.SevenZipStoreCompressionSettings
- Aspose.Zip.Saving.SevenZipPPMdCompressionSettings
encryptionSettings
SevenZipEncryptionSettings
Pass null om du inte behöver kryptera eller dekryptera.
Kan bara vara en:
- Aspose.Zip.Saving.SevenZipAESEncryptioninställningar
Properties
CompressHeader
Få eller sätta värde som indikerar om du ska komprimera arkiv header.
public bool CompressHeader { get; set; }
Fastighetsvärde
Remarks
Denna inställning motsvarar “-mhc=on” switch av 7-Zip-verktyget. för närvarande är det oförenligt med header kryptering.
CompressionSettings
Få inställningar för kompression eller dekompression rutin.
public SevenZipCompressionSettings CompressionSettings { get; }
Fastighetsvärde
EncryptionSettings
Få inställningar för kryptering eller dekryptering. Inställningar för en viss inmatning kan variera.
public SevenZipEncryptionSettings EncryptionSettings { get; }
Fastighetsvärde
Remarks
Aspose.Zip.Saving.SevenZipAESEncryptionSettings är endast ett alternativ för 7Z-arkiv.