ComponentOne FlexGrid for UWP
C1.UWP Assembly / C1.Xaml Namespace / ResourceLoader Class / GetWebResourceAsync Method
The URI of the file.
The folder to save the file to.
The file name to save the file as.

In This Topic
    GetWebResourceAsync Method
    In This Topic
    Downloads a file from the specified address and returns the file.
    Syntax
    'Declaration
     
    
    Public Shared Function GetWebResourceAsync( _
       ByVal fileUri As Uri, _
       ByVal folder As StorageFolder, _
       Optional ByVal fileName As String _
    ) As Task(Of StorageFile)
    public static Task<StorageFile> GetWebResourceAsync( 
       Uri fileUri,
       StorageFolder folder,
       string fileName
    )

    Parameters

    fileUri
    The URI of the file.
    folder
    The folder to save the file to.
    fileName
    The file name to save the file as.
    Remarks
    If no file name is given - the method will try to find the suggested file name in the HTTP response based on the Content-Disposition HTTP header.
    See Also