Class SevenZipEncryptionSettings

Class SevenZipEncryptionSettings

ชื่อพื้นที่: Aspose.Zip.Saving การประกอบ: Aspose.Zip.dll (25.5.0)

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

public abstract class SevenZipEncryptionSettings

Inheritance

object SevenZipEncryptionSettings

Derived

SevenZipAESEncryptionSettings

อนุญาโตตุลาการ

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Remarks

AES-256 เป็นวิธีการเข้ารหัสเดียวที่สามารถใช้ได้สําหรับ archive 7z ดังนั้น Aspose.Zip.Saving.SevenZipAESEncryptionSettings เป็นการดําเนินการเดียว

Constructors

SevenZipEncryptionSettings(รั้ว)

เปิดตัวตัวอย่างใหม่ของคลาส Aspose.Zip.Saving.SevenZipEncryptionSettings

protected SevenZipEncryptionSettings(string password)

Parameters

password string

รหัสผ่านสําหรับการเข้ารหัสหรือ decryption

SevenZipEncryptionSettings()

เปิดตัวตัวอย่างใหม่ของคลาส Aspose.Zip.Saving.SevenZipEncryptionSettings

protected SevenZipEncryptionSettings()

Properties

EncryptHeader

ได้รับหรือตั้งค่าค่าที่แสดงให้เห็นการเข้ารหัสหัว

public bool EncryptHeader { get; set; }

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

bool

Remarks

การตั้งค่านี้เป็นสวิตช์ “-mhe=on” ของเครื่องมือ 7-Zip ในขณะนี้มันไม่เข้ากันได้กับการบีบอัดหัว

Password

รับหรือตั้งรหัสผ่านสําหรับการเข้ารหัสหรือ decryption

public string Password { get; set; }

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

string

 แบบไทย