Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

WebClient.UploadValuesAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 8.0.9673)

UploadValuesAsync(String, NameValueCollection, Object)

Uploads a name/value collection to a specified URI.

Declaration
public Task<byte[]> UploadValuesAsync(string uri, NameValueCollection values, object state = null)
Parameters
Type Name Description
String uri

Uri to send data to.

NameValueCollection values

Name/value collection to send.

Object state

An object containing state information for this request.

Returns
Type Description
Task<Byte[]>

Response data of the upload operation.

UploadValuesAsync(Uri, NameValueCollection, Object)

Uploads a name/value collection to a specified URI.

Declaration
public Task<byte[]> UploadValuesAsync(Uri uri, NameValueCollection values, object state = null)
Parameters
Type Name Description
Uri uri

Uri to send data to.

NameValueCollection values

Name/value collection to send.

Object state

An object containing state information for this request.

Returns
Type Description
Task<Byte[]>

Response data of the upload operation.

UploadValuesAsync(String, String, NameValueCollection, Object)

Uploads a name/value collection to a specified URI.

Declaration
public Task<byte[]> UploadValuesAsync(string uri, string method, NameValueCollection values, object state = null)
Parameters
Type Name Description
String uri

Uri to send data to.

String method

HTTP method to use when sending the data.

NameValueCollection values

Name/value collection to send.

Object state

An object containing state information for this request.

Returns
Type Description
Task<Byte[]>

Response data of the upload operation.

UploadValuesAsync(Uri, String, NameValueCollection, Object)

Uploads a name/value collection to a specified URI.

Declaration
public Task<byte[]> UploadValuesAsync(Uri uri, string method, NameValueCollection values, object state = null)
Parameters
Type Name Description
Uri uri

Uri to send data to.

String method

HTTP method to use when sending the data.

NameValueCollection values

Name/value collection to send.

Object state

An object containing state information for this request.

Returns
Type Description
Task<Byte[]>

Response data of the upload operation.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies