AbstractTelnet GetResult Method CleanCode C# Libraries v1.2.03 API
Executes the specified command on the remote host.

Namespace: CleanCode.RemoteCommands
Assembly: CleanCode.RemoteCommands (in CleanCode.RemoteCommands.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public abstract Match GetResult(
	string cmd,
	string resultRegex
)

Return Value

Results from a regular expression match of the command output.
Remarks

This method must be implemented by classes which are based on AbstractTelnet. The implemented method must: connect to host, log in, execute the command, retrieve the result, log out, and disconnect.
See Also