In The Hand - .NET Components for Mobility
UploadString Method (address, method, data)
NamespacesInTheHand.NetWebClientUploadString(Uri, String, String)
Uploads the specified string to the specified resource, using the specified method.
Declaration Syntax
C#Visual Basic
public string UploadString(
	Uri address,
	string method,
	string data
)
Public Function UploadString ( _
	address As Uri, _
	method As String, _
	data As String _
) As String
Parameters
address (Uri)
The URI of the resource to receive the string. For Http resources, this URI must identify a resource that can accept a request sent with the POST method, such as a script or ASP page.
method (String)
The HTTP method used to send the data to the resource. If null, the default is POST for http and STOR for ftp.
data (String)
The string to be uploaded.
Return Value
A String containing the response sent by the server.

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 2.1.0.0