TelnetLibExec 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 override Match GetResult(
	string cmd,
	string resultRegex
)

Return Value

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

Steps: connect to host, log in, execute the command, retrieve the result, log out, and disconnect.
See Also