Class EncryptionSettings
Class EncryptionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
Lớp cơ sở cho cài đặt cho nhiều phương pháp mã hóa zip.
public abstract class EncryptionSettings
Kế thừa
Kế thừa
AesEcryptionSettings, TraditionalEncryptionSettings
Thành viên kế thừa
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EncryptionSettings(string, EncryptionMethod)
Khởi tạo một thể hiện mới của lớp Aspose.Zip.Saving.EncryptionSettings.
protected EncryptionSettings(string password, EncryptionMethod method)
Tham số
password
string
Mật khẩu để mã hóa hoặc giải mã.
method
EncryptionMethod
Phương pháp để mã hóa hoặc giải mã.
Properties
Method
Lấy thuật toán mã hóa.
public EncryptionMethod Method { get; }
Giá trị thuộc tính
Password
Lấy hoặc thiết lập mật khẩu cho mã hóa hoặc giải mã.
public string Password { get; set; }