Namespace: BitMiracle.Docotic.Pdf
public PdfStandardEncryptionHandler( string ownerPassword, string userPassword )
Public Sub New ( ownerPassword As String, userPassword As String )
If userPassword is null or empty string, then users of the encrypted document will be able to open it without a password.
If both ownerPassword and userPassword are null or empty string, an instance of the PdfException will be thrown.