PDFView4NET WinForms Edition
EncryptionAlgorithm Property




O2S.Components.PDFView4NET Namespace > PDFSecurityManager Class : 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;}
public: __property EncryptionAlgorithm get_EncryptionAlgorithm();
public: __property void set_EncryptionAlgorithm( 
   EncryptionAlgorithm value
);
public:
property EncryptionAlgorithm EncryptionAlgorithm {
   EncryptionAlgorithm get();
   void set (    EncryptionAlgorithm value);
}
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 Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFSecurityManager Class
PDFSecurityManager Members