In The Hand - .NET Components for Mobility
UploadValues Method (address, method, data)
NamespacesInTheHand.NetWebClientUploadValues(Uri, String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.
Declaration Syntax
C#Visual Basic
public byte[] UploadValues(
	Uri address,
	string method,
	NameValueCollection data
)
Public Function UploadValues ( _
	address As Uri, _
	method As String, _
	data As NameValueCollection _
) As Byte()
Parameters
address (Uri)
The URI of the resource to receive the collection.
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 (NameValueCollection)
The NameValueCollection 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