Class SevenZipEntrySettings
De naam: Aspose.Zip.Saving Verzameling: Aspose.Zip.dll (25.5.0)
Instellingen die worden gebruikt om 7Z-inschrijvingen te compresseren of te decompresseren.
public class SevenZipEntrySettings
Inheritance
object ← SevenZipEntrySettings
Geëerbiede leden
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
SevenZipEntrySettings(SevenZipCompressionSettings, SevenZipEncryptionSettings)
Initialiseert een nieuwe instantie van de Aspose.Zip.Saving.SevenZipEntrySettings klasse.
public SevenZipEntrySettings(SevenZipCompressionSettings compressionSettings = null, SevenZipEncryptionSettings encryptionSettings = null)
Parameters
compressionSettings
SevenZipCompressionSettings
Pass null voor standaard LZMA-instellingen.
Het kan een van deze zijn:
- Aspose.Zip.Saving.SevenZipLZMACompressionSettings
- Aspose.Zip.Saving.SevenZipLZMA2CompressionSettings
- Aspose.Zip.Saving.SevenZipBZip2CompressionSettings
- Aspose.Zip.Saving.SevenZipStoreCompressionSettings
- Aspose.Zip.Saving.SevenZipPPMdCompressionSettings
encryptionSettings
SevenZipEncryptionSettings
Pass null als er geen noodzaak is om te versleutelen of te decrypteren.
Het kan maar één zijn:
- Aspose.Zip.Saving.SevenZipAESEncryptionSettings
Properties
CompressHeader
Geeft of stelt een waarde die aangeeft of de archiefheader moet worden gecomprimeerd.
public bool CompressHeader { get; set; }
Eigendomswaarde
Remarks
Deze instelling is gelijk aan ‘-mhc=on’ switch van 7-Zip tool. op dit moment is het niet compatibel met header encryptie.
CompressionSettings
Geeft instellingen voor compressie of decompressie routine.
public SevenZipCompressionSettings CompressionSettings { get; }
Eigendomswaarde
EncryptionSettings
Geeft instellingen voor encryptie of decryptie. instellingen van een bepaalde ingang kunnen variëren.
public SevenZipEncryptionSettings EncryptionSettings { get; }
Eigendomswaarde
Remarks
De Aspose.Zip.Saving.SevenZipAESEncryptionSettings is slechts een optie voor 7Z archieven.