In The Hand LtdIn The Hand
UploadFileAsync Method (address, method, fileName, userToken)
NamespacesInTheHand.NetWebClientUploadFileAsync(Uri, String, String, Object)
.NET Components for Mobility
Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.
Declaration Syntax
C#Visual Basic
public void UploadFileAsync(
	Uri address,
	string method,
	string fileName,
	Object userToken
)
Public Sub UploadFileAsync ( _
	address As Uri, _
	method As String, _
	fileName As String, _
	userToken As Object _
)
Parameters
address (Uri)
The URI of the resource to receive the file. For HTTP resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.
method (String)
The HTTP method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.
fileName (String)
The file to send to the resource.
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