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

Parameters

userPassword  String
ownerPassword  String
permissions  Permission
See Also