I’m trying to submit user information, without their knowledge, to an api at the time of opening the pdf document.
I tried using
PDFDocument doc = new PDFDocument();
doc.OpenAction = action;
But this is opening the url in new browser. Please suggest some way to resolve this ?