Class SevenZipEntrySettings
ชื่อพื้นที่: Aspose.Zip.Saving การประกอบ: Aspose.Zip.dll (25.5.0)
การตั้งค่าที่ใช้ในการบีบอัดหรือบีบอัดรายการ 7Z
public class SevenZipEntrySettings
Inheritance
object ← SevenZipEntrySettings
อนุญาโตตุลาการ
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
SevenZipEntrySettings(SevenZipCompressionตั้งค่า, SevenZipEncryptionตั้งค่า)
เปิดตัวตัวอย่างใหม่ของคลาส Aspose.Zip.Saving.SevenZipEntrySettings
public SevenZipEntrySettings(SevenZipCompressionSettings compressionSettings = null, SevenZipEncryptionSettings encryptionSettings = null)
Parameters
compressionSettings
SevenZipCompressionSettings
การตั้งค่าสําหรับการบีบอัด Pass null สําหรับการตั้งค่า LZMA แบบกําหนดเอง
สามารถเป็นหนึ่งในเหล่านี้:
- Aspose.Zip.Saving.SevenZipLZMACompressionตั้งค่า
- Aspose.Zip.Saving.SevenZipLZMA2Compressionตั้งค่า
- Aspose.Zip.Saving.SevenZipBZip2CompressionSettings
- Aspose.Zip.Saving.SevenZipStoreCompressionSettings
- Aspose.Zip.Saving.SevenZipPPMdCompressionSettings
encryptionSettings
SevenZipEncryptionSettings
การตั้งค่าการเข้ารหัส Pass null หากไม่จําเป็นต้องเข้ารหัสหรือ decrypt
สามารถเป็นเพียงหนึ่ง:
- Aspose.Zip.Saving.SevenZipAESEncryptionตั้งค่า
Properties
CompressHeader
รับหรือตั้งค่าหมายความว่าคุณจะบีบอัดหัวไฟล์หรือไม่
public bool CompressHeader { get; set; }
คุณสมบัติมูลค่า
Remarks
การตั้งค่านี้เป็นสวิตช์ “-mhc=on” ของเครื่องมือ 7-Zip ในขณะนี้มันไม่เข้ากันได้กับการเข้ารหัสหัว
CompressionSettings
ได้รับการตั้งค่าสําหรับการบีบอัดหรือการบีบอัด routine
public SevenZipCompressionSettings CompressionSettings { get; }
คุณสมบัติมูลค่า
EncryptionSettings
ได้รับการตั้งค่าสําหรับการเข้ารหัสหรือ decryption การตั้งค่าของรายการที่เฉพาะเจาะจงอาจแตกต่างกัน
public SevenZipEncryptionSettings EncryptionSettings { get; }
คุณสมบัติมูลค่า
Remarks
Aspose.Zip.Saving.SevenZipAESEncryptionSettings เป็นตัวเลือกของไฟล์ 7Zเท่านั้น