Table of Contents

Method SetEncryptionToV4UsingAES

Namespace
PdfSharp.Pdf.Security
Assembly
PdfSharp.dll

SetEncryptionToV4UsingAES(bool)

Encrypt with Version 4 (RC4 or AES and a file encryption key length of 128 bits using a crypt filter, PDF 1.5) using AES (PDF 1.6).

public void SetEncryptionToV4UsingAES(bool encryptMetadata = true)

Parameters

encryptMetadata bool

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