'Declaration
Public Shared Function IsPdfFileOwnerPassword( _ 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 owner password, false if the password is not the owner password or the file is not encrypted.