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

Parameters

userPassword  String
ownerPassword  String
permissions  Permission
See Also