Xceed .NET Libraries Documentation
LayerProtocol<T> Method


Xceed.SSH.Core Assembly > Xceed.SSH.Core Namespace > SSHProtocolManager Class : LayerProtocol<T> Method
Syntax
'Declaration
 
Public Function LayerProtocol(Of T As {New, ISSHProtocol})( _

   ByVal lowerLayer As ISSHProtocol, _

   ByVal connect As Boolean _

) As T
'Usage
 
Dim instance As SSHProtocolManager

Dim lowerLayer As ISSHProtocol

Dim connect As Boolean

Dim value As T

 

value = instance.LayerProtocol(Of T)(lowerLayer, connect)
public T LayerProtocol<T>( 

   ISSHProtocol lowerLayer,

   bool connect

)

where T: new(), ISSHProtocol

Parameters

lowerLayer
connect

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SSHProtocolManager Class
SSHProtocolManager Members