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.4.0+02318d3e3f9645a1305b87026fb971a660079e54
Syntax
C#
public Encryption(
	string userPassword,
	string ownerPassword,
	Permission permissions
)

Parameters

userPassword  String
ownerPassword  String
permissions  Permission
See Also