New to Telerik Document ProcessingStart a free 30-day trial

Base class for the encryption settings.

Definition

Namespace:Telerik.Windows.Zip

Assembly:Telerik.Windows.Zip.dll

Syntax:

C#
public abstract class EncryptionSettingsBase : INotifyPropertyChanged

Inheritance: objectEncryptionSettingsBase

Derived Classes: DecryptionSettingsEncryptionSettings

Implements: INotifyPropertyChanged

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged

Methods

Creates a new instance of the PasswordEncryptionSettings class. The encryption strength is set to AES-256.

C#
public static PasswordEncryptionSettings CreateAesPasswordEncryptionSettings()
Returns:

PasswordEncryptionSettings

Creates a new instance of the PasswordEncryptionSettings class.

C#
public static PasswordEncryptionSettings CreateAesPasswordEncryptionSettings(EncryptionStrength encryptionStrength)
Parameters:encryptionStrengthEncryptionStrength

The encryption strength.

Returns:

PasswordEncryptionSettings

Creates a new instance of the DecryptionSettings class.

C#
public static DecryptionSettings CreateDecryptionSettings()
Returns:

DecryptionSettings

Creates a new instance of the PasswordEncryptionSettings class.

C#
public static PasswordEncryptionSettings CreatePkzipPasswordEncryptionSettings()
Returns:

PasswordEncryptionSettings

Called when property value is changed.

C#
protected void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

Property name.