Asynchronously downloads a file from the Central Campaign Server via the http server.

Namespace: ININ.IceLib.Configuration.Dialer
Assembly: ININ.IceLib.Dialer (in ININ.IceLib.Dialer.dll) Version: 0.0.0.0 (22.3.0.208)

Syntax

C#
public void DownloadFileAsync(
	HttpRequestKey key,
	ResourceType resourceType,
	string filePath,
	EventHandler<AsyncCompletedEventArgs<bool>> completionCallback,
	Object state
)
Visual Basic
Public Sub DownloadFileAsync ( _
	key As HttpRequestKey, _
	resourceType As ResourceType, _
	filePath As String, _
	completionCallback As EventHandler(Of AsyncCompletedEventArgs(Of Boolean)), _
	state As Object _
)

Parameters

key
Type: ININ.IceLib.Configuration.Dialer..::..HttpRequestKey
The request key that grants access to the http server.
resourceType
Type: ININ.IceLib.Configuration.Dialer..::..ResourceType
type of file to download (Wave, UDL or TimezoneMap)
filePath
Type: System..::..String
The name of the file to download.
completionCallback
Type: System..::..EventHandler<(Of <(<'AsyncCompletedEventArgs<(Of <(<'Boolean>)>)>>)>)>
The method to call upon completion.
state
Type: System..::..Object

See Also