Class |
Description |
CSshClient |
Constructor which initializes the current instance of the
class |
~CSshClient |
Destructor which releases resources allocated by the class |
Method |
Description |
AttachHandle |
Attach the specified client handle to this instance of the
class |
AttachThread |
Attach the specified client handle to another thread |
Break |
Send a break signal to the server |
Cancel |
Cancel the current blocking operation |
Connect |
Connect to the specified server |
Control |
Send a control message to the server |
CreateSecurityCredentials |
Create a new security credentials structure |
DeleteSecurityCredentials |
Delete a previously created security credentials structure |
DetachHandle |
Detach the handle for the current instance of this class |
DisableEvents |
Disable asynchronous event notification |
DisableTrace |
Disable logging of network function calls to the trace log |
Disconnect |
Disconnect from the current server |
EnableEvents |
Enable asynchronous event notification |
EnableTrace |
Enable logging of network function calls to a file |
Execute |
Execute a command on a server and return the output in the
specified buffer |
FreezeEvents |
Suspend asynchronous event processing |
GetErrorString |
Return a description for the specified error code |
GetExitCode |
Return the exit code for the remote session |
GetHandle |
Return the client handle used by this instance of the
class |
GetLastError |
Return the last error code |
GetLineMode |
Return the current mode used to send end-of-line character sequences |
GetSecurityInformation |
Return security information about the current client
connection |
GetStatus |
Return the current client status |
GetTimeout |
Return the number of seconds until an operation times out |
IsBlocking |
Determine if the client is blocked, waiting for
information |
IsConnected |
Determine if the client is connected to the server |
IsInitialized |
Determine if the class has been successfully initialized |
IsReadable |
Determine if data can be read from the server |
IsWritable |
Determine if data can be written to the server |
Peek |
Examine data in the receive buffer, but do not remove it |
Read |
Read data returned by the server |
ReadLine |
Read a line of data from the server and return it in a string
buffer |
RegisterEvent |
Register an event callback function |
Search |
Search for a specific character sequence in the data
stream |
SetLastError |
Set the last error code |
SetLineMode |
Change how end-of-line character sequences are sent to the server |
SetTimeout |
Set the number of seconds until an operation times out |
ShowError |
Display a message box with a description of the specified
error |
SshEventProc |
Callback function that processes events generated by the
client |
Write |
Write data to the server |
WriteLine |
Write a line of data to the server |