Class SevenZipEntrySettings

Class SevenZipEntrySettings

Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)

7Zエントリを圧縮または解凍するために使用される設定。

public class SevenZipEntrySettings

継承

objectSevenZipEntrySettings

継承されたメンバー

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

コンストラクタ

SevenZipEntrySettings(SevenZipCompressionSettings, SevenZipEncryptionSettings)

Aspose.Zip.Saving.SevenZipEntrySettingsクラスの新しいインスタンスを初期化します。

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

パラメータ

compressionSettings SevenZipCompressionSettings

圧縮のための設定。デフォルトのLZMA設定を使用するにはnullを渡します。

次のいずれかである必要があります:

  • Aspose.Zip.Saving.SevenZipLZMACompressionSettings
  • Aspose.Zip.Saving.SevenZipLZMA2CompressionSettings
  • Aspose.Zip.Saving.SevenZipBZip2CompressionSettings
  • Aspose.Zip.Saving.SevenZipStoreCompressionSettings
  • Aspose.Zip.Saving.SevenZipPPMdCompressionSettings

encryptionSettings SevenZipEncryptionSettings

暗号化のための設定。暗号化または復号化の必要がない場合はnullを渡します。

次のいずれかである必要があります:

  • Aspose.Zip.Saving.SevenZipAESEncryptionSettings

プロパティ

CompressHeader

アーカイブヘッダーを圧縮するかどうかを示す値を取得または設定します。

public bool CompressHeader { get; set; }

プロパティの値

bool

備考

この設定は、7-Zipツールの-mhc=onスイッチに相当します。現在、ヘッダーの暗号化とは互換性がありません。

CompressionSettings

圧縮または解凍ルーチンのための設定を取得します。

public SevenZipCompressionSettings CompressionSettings { get; }

プロパティの値

SevenZipCompressionSettings

EncryptionSettings

暗号化または復号化のための設定を取得します。特定のエントリの設定は異なる場合があります。

public SevenZipEncryptionSettings EncryptionSettings { get; }

プロパティの値

SevenZipEncryptionSettings

備考

Aspose.Zip.Saving.SevenZipAESEncryptionSettingsは7Zアーカイブの唯一のオプションです。

 日本語