EncryptionAlgorithmInfoKeyLength Property Terminal Works - PDF Printing.Net Library
It returns 40 for RC4_40 , 128 for RC4_128 and AES128, 256 for AES256_Weak and AES256. It can be only set for RC4_Custom type of encryption. In that case, its default value is 128. Key must be between 40 and 128 and divisble by 8.

Namespace: PdfEdit.Pdf.Security
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax

public int KeyLength { get; set; }

Property Value

Type: Int32
See Also

Reference