Class SevenZipEncryptionSettings
Nazwa przestrzeń: Aspose.Zip.Saving Zestawienie: Aspose.Zip.dll (25.5.0)
Klasa podstawowa dla ustawień dla kilku metod szyfrowania 7z.
public abstract class SevenZipEncryptionSettings
Inheritance
object ← SevenZipEncryptionSettings
Derived
Dziedziczeni członkowie
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Remarks
AES-256 jest jedyną możliwą metodą szyfrowania dla archiwum 7z. Tak więc Aspose.Zip.Saving.SevenZipAESEncryptionSettings jest jedyną implementacją.
Constructors
SevenZipEncryptionSettings(strumień)
Inicjalizuje nowy przykład klasy Aspose.Zip.Saving.SevenZipEncryptionSettings.
protected SevenZipEncryptionSettings(string password)
Parameters
password
string
Hasło do szyfrowania lub dekrypcji.
SevenZipEncryptionSettings()
Inicjalizuje nowy przykład klasy Aspose.Zip.Saving.SevenZipEncryptionSettings.
protected SevenZipEncryptionSettings()
Properties
EncryptHeader
Otrzymuje lub ustawia wartość wskazującą szyfrowanie nagłówka.
public bool EncryptHeader { get; set; }
Wartość nieruchomości
Remarks
Ten ustawienie jest równoważnym przełącznikiem “-mhe=on” narzędzia 7-Zip. obecnie jest niekompatybilny z kompresją nagłówka.
Password
Otrzymuje lub ustawia hasło do szyfrowania lub dekrypcji.
public string Password { get; set; }