I have 1 pdf file which has already user password,
I have tried to open that file and get this error.
Code:-
PdfViewer viewer = new PdfViewer();
viewer.OpenPdfFile(@"D:\test.pdf");
string pw = viewer.Password;
When file is not encrypted it opens the file but for encrypted file
Thanks,