Webbrowser control File Download dialog Bypass

2020-04-26 12:05发布

Actually I want to download a file from website using Webbrowser Control, but because of File download Dialog box, I am not able to automate downloading process. For Bypass it I want to use webclient and need to transfer all session and cookies to webclient from WebBrowser Control or I need set all custom header from webbrowser control to WebClient.

Please Help me I am in very bad situation.

Thanks In Advance.....

1条回答
Animai°情兽
2楼-- · 2020-04-26 12:54

Actually i want to download a file from website using Webbrowser Control, but because of File download Dialog box, i am not able to automate downloading process.

Implement a custom Download Manager. Search the web for IDownloadManager and you'll find some samples in C#.

查看更多
登录 后发表回答