Thank you for your time and replay.
Quote:
The text is valid. Why would you want to replace it?
→Yes,I check the source code and it's just as you say, but in my case the pdf file has some text in the first line already.
when use PDFsharp to encrypt file with AES ,the first line text was replace by the [%PDF-2.0],and also the secondary
line was replace by the text [%ÓôÌá].To keep the pdf file the same after encrypted is needed.
Quote:
With PDFsharp you can set the PDF version. This determines the number in the first line.
→Thank you for your reminder.Yes , I know.
If there is some way can keep the pdf file not to be replaced, just call me thank you!
Best regards