Xceed .NET Libraries Documentation
Xceed.SSH.Protocols Assembly / Xceed.SSH.Protocols Namespace / SSHConnectionProtocol Class / ObtainChannelPayload<PayloadType> Method


In This Topic
    ObtainChannelPayload<PayloadType> Method
    In This Topic
    Syntax
    'Declaration
     
    Protected Function ObtainChannelPayload(Of PayloadType As {New, ChannelPayload})( _
       ByVal packet As SSHPacket, _
       ByRef channel As SSHConnectionProtocolChannel _
    ) As PayloadType
    'Usage
     
    Dim instance As SSHConnectionProtocol
    Dim packet As SSHPacket
    Dim channel As SSHConnectionProtocolChannel
    Dim value As PayloadType
     
    value = instance.ObtainChannelPayload(Of PayloadType)(packet, channel)
    protected PayloadType ObtainChannelPayload<PayloadType>( 
       SSHPacket packet,
       out SSHConnectionProtocolChannel channel
    )
    where PayloadType: new(), ChannelPayload

    Parameters

    packet
    channel

    Type Parameters

    PayloadType
    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