Uploads a string to provided URI as a new resource.

Namespace:  Rebex.Net
Assembly:  Rebex.Http (in Rebex.Http.dll)

Syntax

Visual Basic
Public Function UploadString ( _
	uri As Uri, _
	data As String _
) As String
C#
public string UploadString(
	Uri uri,
	string data
)

Parameters

uri
Type: System..::..Uri
Uri to send resource to.
data
Type: System..::..String
String containing new resource.

Return Value

Response of the upload operation.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also