Class EncryptionSettings
Class EncryptionSettings
Namespace: Aspose.Zip.Saving
Assembly: Aspose.Zip.dll (25.1.0)
Basklass för inställningar för flera zip-krypteringsmetoder.
public abstract class EncryptionSettings
Arv
Härledda
AesEcryptionSettings, TraditionalEncryptionSettings
Ärvt Medlemmar
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Konstruktörer
EncryptionSettings(string, EncryptionMethod)
Initierar en ny instans av klassen Aspose.Zip.Saving.EncryptionSettings.
protected EncryptionSettings(string password, EncryptionMethod method)
Parametrar
password
string
Lösenord för kryptering eller dekryptering.
method
EncryptionMethod
Metod för att kryptera eller dekryptera med.
Egenskaper
Method
Hämtar krypteringsalgoritmen.
public EncryptionMethod Method { get; }
Egenskapsvärde
Password
Hämtar eller sätter lösenord för kryptering eller dekryptering.
public string Password { get; set; }