Hi!
string dataDir = Path.GetFullPath("../../../Data/");
string password="abc";
if(....) How to know whether PDF file has password?
//Open PDF with Password
Document pdfDocument1 = new Document(dataDir + "input.pdf",password);
else
Document pdfDocument1 = new Document(dataDir + "input.pdf");
How to know?