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 SendBytesTo(
	byte[] data,
	string serverOrIP,
	out string errorMessage
)

Parameters

data
Type: array< System..::.Byte >[]()[]
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