Click or drag to resize
Pdftools logo

Encryption Constructor

The UserPassword may be used to open the document with the permissions defined by the Permissions parameter. The OwnerPassword may be used to open the document with no access restrictions. The Permissions may be (all permissions), or a concatenation of the allowed Permission values.

Namespace: PdfTools.Toolbox.Pdf
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.7.1+cd848a3eabf1b263af73d28a644a529edd2f1318
Syntax
C#
public Encryption(
	string userPassword,
	string ownerPassword,
	Permission permissions
)

Parameters

userPassword  String
ownerPassword  String
permissions  Permission
See Also