Class SevenZipEntrySettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
7Z girişlerini sıkıştırmak veya açmak için kullanılan ayarlar.
public class SevenZipEntrySettings
Miras
object ← SevenZipEntrySettings
Miras Alınan Üyeler
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Yapıcılar
SevenZipEntrySettings(SevenZipCompressionSettings, SevenZipEncryptionSettings)
Aspose.Zip.Saving.SevenZipEntrySettings sınıfının yeni bir örneğini başlatır.
public SevenZipEntrySettings(SevenZipCompressionSettings compressionSettings = null, SevenZipEncryptionSettings encryptionSettings = null)
Parametreler
compressionSettings
SevenZipCompressionSettings
Sıkıştırma ayarları. Varsayılan LZMA ayarları için null geçin.
Bunlardan biri olabilir:
- Aspose.Zip.Saving.SevenZipLZMACompressionSettings
- Aspose.Zip.Saving.SevenZipLZMA2CompressionSettings
- Aspose.Zip.Saving.SevenZipBZip2CompressionSettings
- Aspose.Zip.Saving.SevenZipStoreCompressionSettings
- Aspose.Zip.Saving.SevenZipPPMdCompressionSettings
encryptionSettings
SevenZipEncryptionSettings
Şifreleme ayarları. Şifreleme veya şifre çözme gerekmiyorsa null geçin.
Yalnızca biri olabilir:
- Aspose.Zip.Saving.SevenZipAESEncryptionSettings
Özellikler
CompressHeader
Arşiv başlığının sıkıştırılıp sıkıştırılmayacağını belirten değeri alır veya ayarlar.
public bool CompressHeader { get; set; }
Özellik Değeri
Açıklamalar
Bu ayar, 7-Zip aracının -mhc=on
anahtarına eşdeğerdir. Şu anda başlık şifrelemesi ile uyumsuzdur.
CompressionSettings
Sıkıştırma veya açma rutinine ait ayarları alır.
public SevenZipCompressionSettings CompressionSettings { get; }
Özellik Değeri
EncryptionSettings
Şifreleme veya şifre çözme ayarlarını alır. Belirli bir girişin ayarları değişkenlik gösterebilir.
public SevenZipEncryptionSettings EncryptionSettings { get; }
Özellik Değeri
Açıklamalar
Aspose.Zip.Saving.SevenZipAESEncryptionSettings, 7Z arşivleri için tek seçenektir.