Xceed .NET Libraries Documentation
ObtainData Method


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > InteractiveSession Class : ObtainData Method
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

Reference

InteractiveSession Class
InteractiveSession Members