Class SevenZipEntrySettings

Class SevenZipEntrySettings

Pôvodný názov: Aspose.Zip.Saving Zhromaždenie: Aspose.Zip.dll (25.5.0)

Nastavenia používané na kompresiu alebo dekompresiu vstupov 7Z.

public class SevenZipEntrySettings

Inheritance

object SevenZipEntrySettings

Z dedičných členov

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

SevenZipEntrySettings(SedemZipCompressionSettings, SedemZipEncryptionSettings)

Iniciuje novú inštanciu triedy Aspose.Zip.Saving.SevenZipEntrySettings.

public SevenZipEntrySettings(SevenZipCompressionSettings compressionSettings = null, SevenZipEncryptionSettings encryptionSettings = null)

Parameters

compressionSettings SevenZipCompressionSettings

Nastavenia pre kompresiu. prejdite null pre predvolené nastavenia LZMA.

Môže to byť jeden z týchto:

  • Aspose.Zip.Saving.SevenZipLZMACompressionNastavenia
  • Aspose.Zip.Saving.SevenZipLZMA2Kompresné nastavenia
  • Aspose.Zip.Saving.SevenZipBZip2Kompresné nastavenia
  • Aspose.Zip.Saving.SevenZipStoreKompresné nastavenia
  • Aspose.Zip.Saving.SevenZipPPMdCompressionNastavenia

encryptionSettings SevenZipEncryptionSettings

Nastavenie pre šifrovanie. prejdite null, ak nie je potrebné šifrovať alebo dešifrovať.

Môže byť len jeden:

  • Aspose.Zip.Saving.SevenZipAESEncryptionNastavenie

Properties

CompressHeader

Získava alebo nastaví hodnotu, ktorá naznačuje, či komprimovať názov archívu.

public bool CompressHeader { get; set; }

Hodnota nehnuteľnosti

bool

Remarks

Toto nastavenie je ekvivalentom “-mhc=on” prepínača 7-Zip nástroj. v súčasnosti je nezlučiteľný s šifrovaním hlavy.

CompressionSettings

Dostáva nastavenia pre kompresnú alebo dekompresnú rutinu.

public SevenZipCompressionSettings CompressionSettings { get; }

Hodnota nehnuteľnosti

SevenZipCompressionSettings

EncryptionSettings

Dostane nastavenia na šifrovanie alebo dešifrovanie.Nastavenia konkrétneho vstupu sa môžu líšiť.

public SevenZipEncryptionSettings EncryptionSettings { get; }

Hodnota nehnuteľnosti

SevenZipEncryptionSettings

Remarks

Aspose.Zip.Saving.SevenZipAESEncryptionSettings je len možnosť 7Z archívov.

 Slovenčina