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.
精彩评论