ArcGIS Pro 3.4 API Reference Guide
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
Version

GetAsFileAsync Method
Downloads the resource as a file identified by the specified Uri asynchronously.
Syntax

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 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also