Class SevenZipEncryptionSettings
اسم الفضاء : Aspose.Zip.Saving تجميع: Aspose.Zip.dll (25.5.0)
الطبقة الأساسية للإعدادات لعدد من أساليب التشفير 7z.
public abstract class SevenZipEncryptionSettings
Inheritance
object ← SevenZipEncryptionSettings
Derived
الأعضاء الموروثين
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Remarks
AES-256 هو الطريقة الوحيدة الممكنة للتشفير لأرشيف 7z. لذلك Aspose.Zip.Saving.SevenZipAESEncryptionSettings هو التنفيذ الوحيد.
Constructors
SevenZipEncryptionSettings(الستار)
يبدأ مثال جديد من فئة Aspose.Zip.Saving.SevenZipEncryptionSettings.
protected SevenZipEncryptionSettings(string password)
Parameters
password
string
كلمة المرور للتشفير أو التشفير.
SevenZipEncryptionSettings()
يبدأ مثال جديد من فئة Aspose.Zip.Saving.SevenZipEncryptionSettings.
protected SevenZipEncryptionSettings()
Properties
EncryptHeader
يحصل أو يضع قيمة تشير إلى سر التشفير.
public bool EncryptHeader { get; set; }
قيمة الممتلكات
Remarks
هذا الإعداد هو ما يعادل “-mhe=on” التبديل من أداة 7-Zip. في الوقت الحالي، فإنه غير متوافق مع ضغط الرأس.
Password
يحصل أو يضع كلمة مرور للتشفير أو التشفير.
public string Password { get; set; }