Hi
I have one encrypted stream, and I try to find out if it is encrypted or not by foillowing code:
PdfFileInfo inputPDFInfo = new PdfFileInfo(pdfInputStream);
if (inputPDFInfo.BeEncrypted)
{
MessageBox.Show("Encrypted file"
}
Now when I initialize this object "PdfFileInfo" it throws following error:
"Source array was not long enough. Check srcIndex and length, and the array's lower bounds"
Please help me,
If file is not encrypted it is not throwing error
Regards