ArcGIS Pro 2.6 API Reference Guide
GetAsFileAsync Method

ArcGIS.Desktop.Core Namespace > EsriHttpClient Class : GetAsFileAsync Method
The Uri address of the asynchronous request
Absolute path of the file to which the response will be downloaded to
Downloads the resource as a file identified by the specified Uri asynchronously.
Syntax
Public Function GetAsFileAsync( _
   ByVal requestUri As String, _
   ByVal filePathToDownload As String _
) As Task(Of Boolean)

Parameters

requestUri
The Uri address of the asynchronous request
filePathToDownload
Absolute path of the file to which the response will be downloaded to

Return Value

A task returning boolean value indicating success or failure
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

EsriHttpClient Class
EsriHttpClient Members