0 votes
by (140 points)
edited

HI you have an example to print the screen sshterminal?

Regards

1 Answer

0 votes
by (72.7k points)
edited

You can use the Save method to print the terminal screen. There is various picture and text output formats (check the TerminalCaptureFormat enumeration).

An example:

SshTerminalControl terminal;
...
terminal.Save("filename.png", TerminalCaptureFormat.Png);
terminal.Save("filename.txt", TerminalCaptureFormat.Text);
...