Xceed .NET Libraries Documentation
Xceed.SSH.Client Assembly / Xceed.SSH.Client Namespace / InteractiveSession Class / ObtainData Method


In This Topic
    ObtainData Method
    In This Topic
    Syntax
    'Declaration
     
    Protected Function ObtainData( _
       ByVal source As IProducerConsumerCollection(Of Byte()), _
       ByVal dataReceived As WaitHandle, _
       ByRef data() As Byte, _
       ByRef offset As Integer, _
       ByRef count As Integer _
    ) As Boolean
    'Usage
     
    Dim instance As InteractiveSession
    Dim source As IProducerConsumerCollection(Of Byte())
    Dim dataReceived As WaitHandle
    Dim data() As Byte
    Dim offset As Integer
    Dim count As Integer
    Dim value As Boolean
     
    value = instance.ObtainData(source, dataReceived, data, offset, count)
    protected bool ObtainData( 
       IProducerConsumerCollection<byte[]> source,
       WaitHandle dataReceived,
       out byte[] data,
       out int offset,
       out int count
    )

    Parameters

    source
    dataReceived
    data
    offset
    count
    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