Xceed .NET Libraries Documentation
ReadFile Method (SFtp)


Xceed.SSH.SFtp Assembly > Xceed.SSH.SFtp Namespace > SFtp Class : ReadFile Method
Syntax
'Declaration
 
Public Function ReadFile( _
   ByVal handle() As Byte, _
   ByVal offset As Long, _
   ByVal buffer() As Byte, _
   ByVal bufferOffset As Integer, _
   ByVal count As Integer _
) As Integer
'Usage
 
Dim instance As SFtp
Dim handle() As Byte
Dim offset As Long
Dim buffer() As Byte
Dim bufferOffset As Integer
Dim count As Integer
Dim value As Integer
 
value = instance.ReadFile(handle, offset, buffer, bufferOffset, count)
public int ReadFile( 
   byte[] handle,
   long offset,
   byte[] buffer,
   int bufferOffset,
   int count
)

Parameters

handle
offset
buffer
bufferOffset
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

SFtp Class
SFtp Members