GetWebResourceAsync Method
In This Topic
Downloads a file from the specified address and returns the file.
Syntax
'Declaration
Public Shared Function GetWebResourceAsync( _
ByVal As System.Uri, _
ByVal As Windows.Storage.StorageFolder, _
Optional ByVal As System.String _
) As System.Threading.Tasks.Task(Of StorageFile)
public static System.Threading.Tasks.Task<StorageFile> GetWebResourceAsync(
System.Uri ,
Windows.Storage.StorageFolder ,
System.string
)
Parameters
- fileUri
- The URI of the file.
- folder
- The folder to save the file to.
- fileName
- The file name to save the file as.
See Also