WPF : download files through CefSharp
Asked Answered
Q

2

2

I'm using CefSharp 1 in my wpf app. How can I download files from sites through my embedded navigator ? When I click on a download link, nothing happens.

Qadi answered 17/3, 2014 at 13:56 Comment(0)
M
2

See answer in this thread in the CefSharp group

Massimiliano answered 23/5, 2014 at 20:5 Comment(0)
M
0

You may need to add a shceme handler for the 'file' protocol. That's what we did...

Register a scheme with CEF -

CEF.RegisterScheme("file", new HandlerFactory());

Add a scheme handler that loads the file from disk and returns a relevant response

Maddis answered 22/1, 2015 at 17:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.