TK.DownloadFileToLocalStorage Method

Download file and save local
Public Shared Function DownloadFileToLocalStorage( _ 
ByVal url As String, _ 
ByVal targetName As String, _ 
ByVal isContentText As Boolean
) As Task(Of Boolean)
This language is not supported or no code example is available.
public static Task<bool> DownloadFileToLocalStorage( 
string url
string targetName
bool isContentText 
)
This language is not supported or no code example is available.

Parameters

url
string

URL

targetName
string

Target file name or Storage Key (if running on Web Browser)

isContentText
bool

Flag if content is text(true) or binary(false)

Return Value

Task<bool>

Flag success (true) or fail(false)

.NET Framework

Supported in: 4.8

In this article

Definition