DownloadServiceDownloadFile Method (DownloadServiceConfiguration, Uri, String, DownloadServiceDownloadCompletionHandlerFileInfo) |
Retrieve FileInfo for downloaded data from URL.
This function allows clients to download large files.
Namespace:
Avaya.ClientServices
Assembly:
AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntaxpublic DownloadWatcher DownloadFile(
DownloadServiceConfiguration downloadServiceConfiguration,
Uri sourceURL,
string destinationDirectory,
DownloadServiceDownloadCompletionHandler<FileInfo> completionHandler
)
Parameters
- downloadServiceConfiguration
- Type: Avaya.ClientServicesDownloadServiceConfiguration
Service configuration that will be used for this request.
- sourceURL
- Type: SystemUri
URL of the source file.
- destinationDirectory
- Type: SystemString
The directory for storing downloaded data.
- completionHandler
- Type: Avaya.ClientServicesDownloadServiceDownloadCompletionHandlerFileInfo
The completion handler for this operation.
Return Value
Type:
DownloadWatcher
DownloadWatcher object for monitoring download requests.
See Also