On 9/04/2011 8:54, Niravp wrote:
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, PdfReaderreader =
newPdfReader(this.inputPDF);
but when pdf is password protected use this code,
PdfReaderreader = newPdfReader(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.
Then you should convert it properly, that's not an iText question, maybe
http://stackoverflow.com/questions/472906/net-string-to-byte-array-c can
help you
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
--
@redlabbe <http://twitter.com/redlabbe>
redlab-log <http://www.redlab.be/blog>
------------------------------------------------------------------------------
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