Class SevenZipEntrySettings
Tên không gian: Aspose.Zip.Saving Tổng hợp: Aspose.Zip.dll (25.5.0)
Các cài đặt được sử dụng để trộn hoặc trộn các mục 7Z.
public class SevenZipEntrySettings
Inheritance
object ← SevenZipEntrySettings
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()
Constructors
SevenZipEntrySettings(Cài đặt SevenZip, SevenZipEncryptionSettings)
Bắt đầu một trường hợp mới của lớp Aspose.Zip.Saving.SevenZipEntrySettings.
public SevenZipEntrySettings(SevenZipCompressionSettings compressionSettings = null, SevenZipEncryptionSettings encryptionSettings = null)
Parameters
compressionSettings
SevenZipCompressionSettings
Cài đặt cho nén: Pass null for default LZMA settings.
Có thể là một trong những:
- Aspose.Zip.Saving.SevenZipLZMACompressionCài đặt
- Aspose.Zip.Saving.SevenZipLZMA2Bài đặt
- Aspose.Zip.Saving.SevenZipBZip2CompressionCài đặt
- Aspose.Zip.Saving.SevenZipStoreBài đặt
- Aspose.Zip.Saving.SevenZipPPMdBài đặt
encryptionSettings
SevenZipEncryptionSettings
Cài đặt để mã hóa. Pass null nếu không cần mã hóa hoặc giải mã.
Chỉ có thể là một:
- Aspose.Zip.Saving.SevenZipAESNhững cài đặt mã hóa
Properties
CompressHeader
Nhận hoặc đặt giá trị cho biết liệu bạn có nên nén đầu lưu trữ hay không.
public bool CompressHeader { get; set; }
Giá trị bất động sản
Remarks
Thiết lập này tương đương với ‘-mhc=on’ chuyển đổi của công cụ 7-Zip. Hiện tại, nó không tương thích với mã hóa tiêu đề.
CompressionSettings
Nhận cài đặt cho thói quen hoặc thói quen thói quen.
public SevenZipCompressionSettings CompressionSettings { get; }
Giá trị bất động sản
EncryptionSettings
Nhận các cài đặt để mã hóa hoặc giải mã. Cài đặt vào cụ thể có thể khác nhau.
public SevenZipEncryptionSettings EncryptionSettings { get; }
Giá trị bất động sản
Remarks
Các Aspose.Zip.Saving.SevenZipAESEncryptionSettings chỉ là tùy chọn của các tập tin 7Z.