Table of Contents

Method SetEncryptionToV5

Namespace
PdfSharp.Pdf.Security
Assembly
PdfSharp.dll

SetEncryptionToV5(bool)

Encrypt with Version 5 (AES and a file encryption key length of 256 bits using a crypt filter, PDF 2.0).

public void SetEncryptionToV5(bool encryptMetadata = true)

Parameters

encryptMetadata bool

The document metadata stream shall be encrypted (default: true).