Я использую элемент управления WebBrowser внутри формы Windows для отображения PDF.
Однако, когда PDF регенерируется, элемент управления WebBrowser отображает только локальную кешированную версию, а не обновленную версию с сервера.
Я использую метод Refresh(), показанный ниже, чтобы попытаться заставить элемент управления перезагрузить PDF файл, но он не работает:
_webBrowser.Navigate(pdfUrl);
_webBrowser.Refresh(WebBrowserRefreshOption.Completely)
Нужно ли мне что-то делать, чтобы заставить обновление перезагружать PDF с сервера?