isEncrypted

Check whether an input PDF file is encrypted.
isEncrypted([in] LONG inputHandle, [out, retval] VARIANT_BOOL *encrypted)
This function returns true if the input PDF file is encrypted.
VB6:
Dim in as Long in = pdf.openInput("c:/test/file.pdf") If pdf.isEncrypted(in) Then ... End If
VB.net:
Dim in as Long in = pdf.openInput("c:/test/file.pdf") If pdf.isEncrypted(in) Then ... End If
getPermissions