PdfDocument.SetEncryption Method

PDF File Writer

PdfDocumentSetEncryption Method

Set encryption

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public void SetEncryption()
Remarks
The PDF File Writer library will encrypt the PDF document using AES-128 encryption. User password set to default. Owner password is set to a random number. A PDF reader such as Acrobat will open the document with the default user password. Permissions flags are set to allow all.
See Also