开发者

Prevent FileDown in WinForms webbrowser control

i need to block fi开发者_开发技巧le download in webbrowser control in C#.net.. how can i do it?


Implementing a Custom Download Manager managed wrapper http://www.codeproject.com/KB/miscctrl/csEXWB.aspx


Could you be more specific as to what you mean by file download? Opening an html web page is also a file download. You could use the Navigating event, inspect the target URL and if you classify it as a file download you could set the Cancel property.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜