WebBrowserExtensionsExDownloadUrl Method |
Version 101.0.180
Downloads the specified url and calls completeHandler
when the download is complete. Makes a GET Request.
Namespace:
CefSharp
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 101.0.180.0
Syntax public static void DownloadUrl(
this IFrame frame,
string url,
Action<IUrlRequest, Stream> completeHandler
)
public:
[ExtensionAttribute]
static void DownloadUrl(
IFrame^ frame,
String^ url,
Action<IUrlRequest^, Stream^>^ completeHandler
)
Parameters
- frame
- Type: CefSharpIFrame
valid frame - url
- Type: SystemString
url to download - completeHandler
- Type: SystemActionIUrlRequest, Stream
Action to be executed when the download is complete.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IFrame. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also