WebClient.UploadValues Method
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9313)
UploadValues(String, NameValueCollection)
Uploads a name/value collection to a specified URI.
Declaration
public byte[] UploadValues(string uri, NameValueCollection values)
Parameters
| Type | Name | Description |
|---|---|---|
| String | uri | Uri to send data to. |
| NameValueCollection | values | Name/value collection to send. |
Returns
| Type | Description |
|---|---|
| Byte[] | Response data of the upload operation. |
UploadValues(Uri, NameValueCollection)
Uploads a name/value collection to a specified URI.
Declaration
public byte[] UploadValues(Uri uri, NameValueCollection values)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | uri | Uri to send data to. |
| NameValueCollection | values | Name/value collection to send. |
Returns
| Type | Description |
|---|---|
| Byte[] | Response data of the upload operation. |
UploadValues(String, String, NameValueCollection)
Uploads a name/value collection to a specified URI.
Declaration
public byte[] UploadValues(string uri, string method, NameValueCollection values)
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. |
Returns
| Type | Description |
|---|---|
| Byte[] | Response data of the upload operation. |
UploadValues(Uri, String, NameValueCollection)
Uploads a name/value collection to a specified URI.
Declaration
public byte[] UploadValues(Uri uri, string method, NameValueCollection values)
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. |
Returns
| Type | Description |
|---|---|
| Byte[] | Response data of the upload operation. |