by juansoldi » Fri Jun 15, 2018 2:38 am
I'm currently using CefSharp's StartDownload method to download a file, which internally calls CefBrowserHost::StartDownload. The problem I'm having is that if I attempt to download an invalid file (for example in a domain that doesn't exist), StartDownload won't throw any error (I assume because CEF's StartDownload also won't throw an error). Also, CefSharp's DownloadHandler doesn't fire any method (and CefSharp's DownloadHandler just uses CEF's CefDownloadHandler internally so I assume this is also because CefDownloadHandler won't fire any method), so I'm not sure how to detect that there was an error. Is this possible?