Click or drag to resize
WebClientUploadString Method (String, String, String)
Uploads the specified string to the specified resource, using the specified method.

Namespace: System.Net
Assembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax
C#
public string UploadString(
	string address,
	string method,
	string data
)

Parameters

address
Type: SystemString
The URI of the resource to receive the file. This URI must identify a resource that can accept a request sent with the method method.
method
Type: SystemString
The HTTP method used to send the string to the resource. If null, the default is POST for http and STOR for ftp.
data
Type: SystemString
The string to be uploaded.

Return Value

Type: String
A System.String containing the response sent by the server.
See Also