Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
DownloadService Class
DownloadService Methods
DownloadFile Method
DownloadFile Method (DownloadServiceConfiguration, Uri, String, DownloadService.DownloadCompletionHandler(FileInfo))
DownloadFile Method (DownloadServiceConfiguration, Uri, String, DownloadOptionalParameters, DownloadService.DownloadWithParametersCompletionHandler(FileInfo))

DownloadService DownloadFile Method (DownloadServiceConfiguration, Uri, String, DownloadService DownloadCompletionHandler FileInfo )

Retrieve FileInfo for downloaded data from URL. This function allows clients to download large files.

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 592.1.30.0
Syntax
C#
Copy

    public DownloadWatcher DownloadFile(
    	DownloadServiceConfiguration downloadServiceConfiguration,
    	Uri sourceURL,
    	string destinationDirectory,
    	DownloadServiceDownloadCompletionHandler<FileInfo> completionHandler
    )

#### Parameters

downloadServiceConfiguration
  Type: Avaya.ClientServices
  DownloadServiceConfiguration
  Service configuration that will be used for this request.
sourceURL
  Type: System
  Uri
  URL of the source file.
destinationDirectory
  Type: System
  String
  The directory for storing downloaded data.
completionHandler
  Type: Avaya.ClientServices
  DownloadService
  DownloadCompletionHandler
  FileInfo
  The completion handler for this operation.

#### Return Value

Type: DownloadWatcher
DownloadWatcher object for monitoring download requests.
See Also

#### Reference

DownloadService Class
DownloadFile Overload
Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.