WebClientUploadString Method (Uri, String, String) |
Uploads the specified string to the specified resource, using the specified
method.
Namespace: System.NetAssembly: CSharpXamlForHtml5.System.dll (in CSharpXamlForHtml5.System.dll.dll) Version: 1.0.0.0
Syntax public string UploadString(
Uri address,
string method,
string data
)
Parameters
- address
- Type: SystemUri
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:
StringA System.String containing the response sent by the server.
See Also