WebBrowserExtensionsExDownloadUrlAsync Method |
Version 130.1.90
Downloads the specified url as a byte.
Makes a GET Request.
Namespace: CefSharpAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public static Task<byte[]> DownloadUrlAsync(
this IFrame frame,
string url,
UrlRequestFlags urlRequestFlags = UrlRequestFlags.None
)
public:
[ExtensionAttribute]
static Task<array<unsigned char>^>^ DownloadUrlAsync(
IFrame^ frame,
String^ url,
UrlRequestFlags urlRequestFlags = UrlRequestFlags::None
)
Parameters
- frame IFrame
- valid frame
- url String
- url to download
- urlRequestFlags UrlRequestFlags (Optional)
- control caching policy
Return Value
TaskByteA 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