In The Hand LtdIn The Hand
DownloadFileAsync Method (address, fileName, userToken)
NamespacesInTheHand.NetWebClientDownloadFileAsync(Uri, String, Object)
.NET Components for Mobility
Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.
Declaration Syntax
C#Visual Basic
public void DownloadFileAsync(
	Uri address,
	string fileName,
	Object userToken
)
Public Sub DownloadFileAsync ( _
	address As Uri, _
	fileName As String, _
	userToken As Object _
)
Parameters
address (Uri)
The URI of the resource to download.
fileName (String)
The name of the file to be placed on the local computer.
userToken (Object)
A user-defined object that is passed to the method invoked when the asynchronous operation completes.

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 7.0.0.0