Table of Contents

Method SetEncryptionToV2

Namespace
PdfSharp.Pdf.Security
Assembly
PdfSharp.dll

SetEncryptionToV2(int)

Encrypt with Version 2 (RC4 and a file encryption key length of more than 40 bits, PDF 1.4).

public void SetEncryptionToV2(int length = 40)

Parameters

length int

The file encryption key length - a multiple of 8 from 40 to 128 bit.