Click or drag to resize

DirectCommandsSendCommand Method

Linkar Framework for .NET and Core


Allows a variety of direct operations using standard templates (XML, JSON), synchronously only.

Namespace: Linkar.Commands
Assembly: Linkar.Commands (in Linkar.Commands.dll) Version: 2.3.1
Syntax
public static string SendCommand(
	CredentialOptions credentialOptions,
	string command,
	ENVELOPE_FORMAT commandFormat = ENVELOPE_FORMAT.XML,
	int receiveTimeout = 0
)

Parameters

credentialOptions  CredentialOptions
Object with data necessary to access the Linkar Server: Username, Password, EntryPoint, Language, FreeText.
command  String
Content of the operation you want to send.
commandFormat  ENVELOPE_FORMAT  (Optional)
Indicates in what format you are doing the operation: XML or JSON.
receiveTimeout  Int32  (Optional)
Maximum time in seconds that the client will wait for a response from the server. Default = 0 to wait indefinitely.

Return Value

String
The results of the operation.
See Also