Hi,

    I need some help in dotnet. my requirements is that how to read password 
protected PDF file in .net.

My code is below,

With out password pdf open like, PdfReader reader = new 
PdfReader(this.inputPDF);

but when pdf is password protected use this code, 

PdfReader reader = new PdfReader(this.inputPDF, "22363659");

but is not work proper. because second parameter indicate byte[]. and when i 
convert my password in byte[]. it is not convert proper.


Please help me.




Thanks and Regards,
Parikh Nirav
ASP.NET Developer
Saltriver Infosystems PVT. LTD.
Ahmedabad
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to