Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.
| C# | Visual Basic |
public byte[] UploadValues( string address, string method, NameValueCollection data )
Public Function UploadValues ( _ address As String, _ method As String, _ data As NameValueCollection _ ) As Byte()
- address (String)
- 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.
A Byte array containing the body of the response from the resource.