Hello Spire.PDF team,
I'm creating a new PdfDocument and adding information on it in a unit test and after that I'm encrypting the document with a password. For some cases it works but for one file I'm getting the following exception (System.FormatException : Header checksum illegal) when trying to use doc.LoadFromBytes(contentBytes, mypassword).
Can anyone help me identifying what is the problem?
Regards