Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Server.Client Namespace / WebChannel Class / DownloadFile Method
Optional. The number of seconds to wait for a response to the request.

In This Topic
    DownloadFile Method (WebChannel)
    In This Topic
    Downloads the resource with the specified URI to a local file.
    Syntax
    'Declaration
     
    
    <AsyncStateMachineAttribute(Gibraltar.Server.Client.WebChannel/d__62)> 
    Public Function DownloadFile( _ 
       ByVal relativeUrl As String, _ 
       ByVal destinationFileName As String, _ 
       ByVal timeout As Nullable(Of Integer) _ 
    ) As Task
    [AsyncStateMachine(Gibraltar.Server.Client.WebChannel/d__62)] 
    public Task DownloadFile( 
       string relativeUrl, 
       string destinationFileName, 
       Nullable<int> timeout 
    )

    Parameters

    relativeUrl
    destinationFileName
    timeout
    Optional. The number of seconds to wait for a response to the request.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also