In The Hand - .NET Components for Mobility
UploadData Method (address, method, data)
NamespacesInTheHand.NetWebClientUploadData(String, String, array<Byte>[]()[])
Uploads a data buffer to the specified resource, using the specified method.
Declaration Syntax
C#Visual Basic
public byte[] UploadData(
	string address,
	string method,
	byte[] data
)
Public Function UploadData ( _
	address As String, _
	method As String, _
	data As Byte() _
) As Byte()
Parameters
address (String)
The URI of the resource to receive the data.
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.
data (array< Byte >[]()[])
The data buffer to send to the resource.
Return Value
A Byte array containing the body of the response from the resource.

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