Class SevenZipEncryptionSettings
Class SevenZipEncryptionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
複数の7z暗号化方法の設定のための基本クラス。
public abstract class SevenZipEncryptionSettings
継承
object ← SevenZipEncryptionSettings
派生
継承されたメンバー
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
備考
AES-256は7zアーカイブのための唯一の暗号化方法です。したがって、Aspose.Zip.Saving.SevenZipAESEncryptionSettingsが唯一の実装です。
コンストラクタ
SevenZipEncryptionSettings(string)
Aspose.Zip.Saving.SevenZipEncryptionSettingsクラスの新しいインスタンスを初期化します。
protected SevenZipEncryptionSettings(string password)
パラメータ
password
string
暗号化または復号化のためのパスワード。
SevenZipEncryptionSettings()
Aspose.Zip.Saving.SevenZipEncryptionSettingsクラスの新しいインスタンスを初期化します。
protected SevenZipEncryptionSettings()
プロパティ
EncryptHeader
ヘッダー暗号化を示す値を取得または設定します。
public bool EncryptHeader { get; set; }
プロパティの値
備考
この設定は7-Zipツールの-mhe=on
スイッチと同等です。現在、ヘッダー圧縮とは互換性がありません。
Password
暗号化または復号化のためのパスワードを取得または設定します。
public string Password { get; set; }