C# Class SSH.SshModHelper

Show file Open project: darkoperator/Posh-SSH Class Usage Examples

Public Methods

Method Description
AddToSftpSessionCollection ( SftpClient sftpclient, System.Management.Automation.SessionState pssession ) : SSH.SftpSession
AddToSshSessionCollection ( SshClient sshclient, System.Management.Automation.SessionState pssession ) : SSH.SshSession
CreateCustom ( Hashtable properties ) : System.Management.Automation.PSObject

Method Details

AddToSftpSessionCollection() public static method

public static AddToSftpSessionCollection ( SftpClient sftpclient, System.Management.Automation.SessionState pssession ) : SSH.SftpSession
sftpclient Renci.SshNet.SftpClient
pssession System.Management.Automation.SessionState
return SSH.SftpSession

AddToSshSessionCollection() public static method

public static AddToSshSessionCollection ( SshClient sshclient, System.Management.Automation.SessionState pssession ) : SSH.SshSession
sshclient Renci.SshNet.SshClient
pssession System.Management.Automation.SessionState
return SSH.SshSession

CreateCustom() public static method

public static CreateCustom ( Hashtable properties ) : System.Management.Automation.PSObject
properties System.Collections.Hashtable
return System.Management.Automation.PSObject