In The Hand LtdIn The Hand
UploadDataAsync Method (address, method, data, userToken)
NamespacesInTheHand.NetWebClientUploadDataAsync(Uri, String, array<Byte>[]()[][], Object)
.NET Components for Mobility
Uploads a data buffer to a resource identified by a URI, using the specified method and identifying token.
Declaration Syntax
C#Visual Basic
public void UploadDataAsync(
	Uri address,
	string method,
	byte[] data,
	Object userToken
)
Public Sub UploadDataAsync ( _
	address As Uri, _
	method As String, _
	data As Byte(), _
	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 file to the resource. If null, the default is POST for http and STOR for ftp.
data (array<Byte>[]()[][])
The data buffer 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