Table of Contents

Method SetEncryptionToV4UsingRC4

Namespace
PdfSharp.Pdf.Security
Assembly
PdfSharp.dll

SetEncryptionToV4UsingRC4(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 RC4.

public void SetEncryptionToV4UsingRC4(bool encryptMetadata = true)

Parameters

encryptMetadata bool

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