In The Hand - .NET Components for Mobility
UploadFile Method (address, fileName)
NamespacesInTheHand.NetWebClientUploadFile(Uri, String)
Uploads the specified local file to a resource with the specified URI.
Declaration Syntax
C#Visual Basic
public byte[] UploadFile(
	Uri address,
	string fileName
)
Public Function UploadFile ( _
	address As Uri, _
	fileName As String _
) As Byte()
Parameters
address (Uri)
The URI of the resource to receive the data.
fileName (String)
The file 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