Class SevenZipEncryptionSettings
Tên không gian: Aspose.Zip.Saving Tổng hợp: Aspose.Zip.dll (25.5.0)
Khóa học cơ bản cho các cài đặt cho một số phương pháp mã hóa 7z.
public abstract class SevenZipEncryptionSettings
Inheritance
object ← SevenZipEncryptionSettings
Derived
Thành viên thừa kế
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Remarks
AES-256 là phương pháp mã hóa duy nhất có thể cho lưu trữ 7z. Vì vậy Aspose.Zip.Saving.SevenZipAESEncryptionSettings là thực hiện duy nhất.
Constructors
SevenZipEncryptionSettings(String)
Bắt đầu một trường hợp mới của lớp Aspose.Zip.Saving.SevenZipEncryptionSettings.
protected SevenZipEncryptionSettings(string password)
Parameters
password
string
mật khẩu cho mã hóa hoặc decryption.
SevenZipEncryptionSettings()
Bắt đầu một trường hợp mới của lớp Aspose.Zip.Saving.SevenZipEncryptionSettings.
protected SevenZipEncryptionSettings()
Properties
EncryptHeader
Nhận hoặc đặt một giá trị cho thấy mã hóa tiêu đề.
public bool EncryptHeader { get; set; }
Giá trị bất động sản
Remarks
Thiết lập này tương đương với chuyển đổi ‘-mhe=on’ của công cụ 7-Zip. Hiện tại, nó không tương thích với nén đầu.
Password
Nhận hoặc đặt mật khẩu để mã hóa hoặc giải mã.
public string Password { get; set; }