Sends data to the specified computer.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static bool SendTo(
	string data,
	string serverOrIP,
	out string errorMessage
)

Parameters

data
Type: System..::.String
The data to be sent.
serverOrIP
Type: System..::.String
The computer name or IP address.
errorMessage
Type: System..::.String %
The error message if the operation has failed.

Return Value

trueTruetruetrue (True in Visual Basic), whether the operation was successful, otherwise falseFalsefalsefalse (False in Visual Basic).

See Also