PeachPDF
PeachPDF.PdfEncryptionOptions
PdfEncryptionOptions.OwnerPassword Property
The password that lifts every restriction in Permissions. When null or empty a random one is generated and discarded, so nobody can ever lift the restrictions.
public string? OwnerPassword { get; set; }