Click or drag to resize

WebBrowserExtensionsExDownloadUrlAsync Method

Version 91.1.160
Downloads the specified url as a [!:byte[]]. Makes a GET Request.

Namespace:  CefSharp
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 91.1.160.0
Syntax
public static Task<byte[]> DownloadUrlAsync(
	this IFrame frame,
	string url
)

Parameters

frame
Type: CefSharpIFrame
valid frame
url
Type: SystemString
url to download

Return Value

Type: TaskByte
A task that can be awaited to get the [!:byte[]] representing the Url

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