Class EncryptionSettings
Class EncryptionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
Klasa bazowa dla ustawień dla kilku metod szyfrowania zip.
public abstract class EncryptionSettings
Dziedziczenie
Pochodne
AesEcryptionSettings, TraditionalEncryptionSettings
Członkowie dziedziczeni
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktorzy
EncryptionSettings(string, EncryptionMethod)
Inicjalizuje nową instancję klasy Aspose.Zip.Saving.EncryptionSettings.
protected EncryptionSettings(string password, EncryptionMethod method)
Parametry
password
string
Hasło do szyfrowania lub deszyfrowania.
method
EncryptionMethod
Metoda do szyfrowania lub deszyfrowania.
Właściwości
Method
Pobiera algorytm szyfrowania.
public EncryptionMethod Method { get; }
Wartość właściwości
Password
Pobiera lub ustawia hasło do szyfrowania lub deszyfrowania.
public string Password { get; set; }