Class SevenZipEntrySettings

Class SevenZipEntrySettings

Název místa: Aspose.Zip.Saving Sbírka: Aspose.Zip.dll (25.5.0)

Nastavení používané pro komprese nebo dekomprese vstupů 7Z.

public class SevenZipEntrySettings

Inheritance

object SevenZipEntrySettings

Dědiční členové

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

Constructors

SevenZipEntrySettings(Sedm ZipCompressionSettings, Sedm ZipEncryptionSettings)

Začíná nový příklad třídy Aspose.Zip.Saving.SevenZipEntrySettings.

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

Parameters

compressionSettings SevenZipCompressionSettings

Nastavení pro komprese. Pass null pro výchozí nastavení LZMA.

Může být jedním z nich:

  • Aspose.Zip.Saving.SevenZipLZMACompressionNastavení
  • Aspose.Zip.Saving.SevenZipLZMA2Kompresní nastavení
  • Aspose.Zip.Saving.SevenZipBZip2Kompresní nastavení
  • Aspose.Zip.Saving.SevenZipStoreCompressionSettings
  • Aspose.Zip.Saving.SevenZipPPMdKompresní nastavení

encryptionSettings SevenZipEncryptionSettings

Nastavení pro šifrování. projděte null, pokud není nutné šifrovat nebo dešifrovat.

Může být pouze jeden:

  • Společnost Aspose.Zip.Saving.SevenZipAESEncryptionSettings

Properties

CompressHeader

Obdrží nebo nastaví hodnotu, která naznačuje, zda komprimovat archivní název.

public bool CompressHeader { get; set; }

Hodnota nemovitosti

bool

Remarks

Toto nastavení je ekvivalentem “-mhc=on” přepínače nástroje 7-Zip. V současné době je to nekompatibilní s šifrováním hlavy.

CompressionSettings

Obdrží nastavení pro kompresní nebo dekompresní rutinu.

public SevenZipCompressionSettings CompressionSettings { get; }

Hodnota nemovitosti

SevenZipCompressionSettings

EncryptionSettings

Dostane nastavení pro šifrování nebo dešifrování. nastavení konkrétního vstupu se mohou lišit.

public SevenZipEncryptionSettings EncryptionSettings { get; }

Hodnota nemovitosti

SevenZipEncryptionSettings

Remarks

Aspose.Zip.Saving.SevenZipAESEncryptionSettings je pouze možností 7Z archiv.

 Čeština