Uploads a name/value collection to a specified URI.

Namespace:  Rebex.Net
Assembly:  Rebex.Http (in Rebex.Http.dll)

Syntax

Visual Basic
Public Function UploadValues ( _
	uri As String, _
	method As String, _
	values As NameValueCollection _
) As Byte()
C#
public byte[] UploadValues(
	string uri,
	string method,
	NameValueCollection values
)

Parameters

uri
Type: System..::..String
Uri to send data to.
method
Type: System..::..String
HTTP method to use when sending the data.
values
Type: System.Collections.Specialized..::..NameValueCollection
Name/value collection to send.

Return Value

Response data of the upload operation.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also