PDFView4NET WinForms Edition


EncryptionAlgorithm Property
Gets or sets the encryption algorithm used to encrypt the PDF file.
Syntax
'Declaration
 
Public Property EncryptionAlgorithm As EncryptionAlgorithm
'Usage
 
Dim instance As PDFSecurityManager
Dim value As EncryptionAlgorithm
 
instance.EncryptionAlgorithm = value
 
value = instance.EncryptionAlgorithm
public EncryptionAlgorithm EncryptionAlgorithm {get; set;}
Remarks
When using AES encrpytion the key size is always 128 bit and the KeySize property is set automatically to 128 bit and it can not be changed.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also