Class EncryptionSettings

Class EncryptionSettings

Namn på plats: Aspose.Zip.Saving Sammanfattning: Aspose.Zip.dll (25.5.0)

Basklassen för inställningar för flera zip krypteringsmetoder.

public abstract class EncryptionSettings

Inheritance

object EncryptionSettings

Derived

AesEcryptionSettings , TraditionalEncryptionSettings

Arvsmedlemmar

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

EncryptionSettings(String, krypteringMetod)

Initialiserar en ny instans av Aspose.Zip.Saving.EncryptionSettings klass.

protected EncryptionSettings(string password, EncryptionMethod method)

Parameters

password string

Password för kryptering eller dekryptering.

method EncryptionMethod

Metod för att kryptera eller dekryptera med.

Properties

Method

Få krypteringsalgoritmen.

public EncryptionMethod Method { get; }

Fastighetsvärde

EncryptionMethod

Password

Få eller ange ett lösenord för kryptering eller dekryptering.

public string Password { get; set; }

Fastighetsvärde

string

 Svenska