Class SevenZipEncryptionSettings

Class SevenZipEncryptionSettings

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

คลาสฐานสำหรับการตั้งค่าสำหรับหลายวิธีการเข้ารหัส 7z.

public abstract class SevenZipEncryptionSettings

การสืบทอด

objectSevenZipEncryptionSettings

ที่สืบทอดมา

SevenZipAESEncryptionSettings

สมาชิกที่สืบทอดมา

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; }

ค่าคุณสมบัติ

bool

หมายเหตุ

การตั้งค่านี้เทียบเท่ากับ -mhe=on ของเครื่องมือ 7-Zip ขณะนี้ไม่เข้ากันกับการบีบอัดส่วนหัว

Password

รับหรือกำหนดรหัสผ่านสำหรับการเข้ารหัสหรือการถอดรหัส

public string Password { get; set; }

ค่าคุณสมบัติ

string

 แบบไทย