'Declaration
Public Shared Function IsPdfFileUserPassword( _ ByVal stream As Stream, _ ByVal password As String _ ) As Boolean
Parameters
- stream
- Stream that contains the PDF file.
- password
- Password to verify.
Return Value
True if the password is the user password, false if the password is not the user password or the file is not encrypted.