PeachPDF

PeachPDF.PdfEncryptionOptions

PdfEncryptionOptions.UserPassword Property

The password a reader must supply to open the document. When null or empty the document opens without a password, and Permissions still apply.

public string? UserPassword { get; set; }

Property Value

System.String