Click or drag to resize
Pdf Library for .NET

PdfSecurityManagerSave(String) Method

Saves the document (with the applied security) to a file.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public void Save(
	string fileName
)

Parameters

fileName  String
The path of the file to write.
Example
PdfSecurityManager manager = new PdfSecurityManager();
manager.Load("document.pdf");
manager.UserPassword = "open123";
manager.Save("encrypted.pdf");
manager.Close();
See Also