Class SevenZipEncryptionSettings
Class SevenZipEncryptionSettings
名称: Aspose.Zip.Saving 收藏: Aspose.Zip.dll (25.5.0)
对多个 7z 加密方法的设置的基础类。
public abstract class SevenZipEncryptionSettings
Inheritance
object ← SevenZipEncryptionSettings
Derived
继承人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Remarks
AES-256 是 7z 存档的唯一可能加密方法,因此 Aspose.Zip.Saving.SevenZipAESEncryptionSettings 是唯一的实施。
Constructors
SevenZipEncryptionSettings(线条)
启动 Aspose.Zip.Saving.SevenZipEncryptionSettings 类的新例子。
protected SevenZipEncryptionSettings(string password)
Parameters
password
string
密码加密或解密。
SevenZipEncryptionSettings()
启动 Aspose.Zip.Saving.SevenZipEncryptionSettings 类的新例子。
protected SevenZipEncryptionSettings()
Properties
EncryptHeader
收到或设置标题加密的值。
public bool EncryptHeader { get; set; }
财产价值
Remarks
此设置相当于 7-Zip 工具的“-mhe=on”交换器. 目前,它与头压不兼容。
Password
收到或设置密码加密或解密。
public string Password { get; set; }