Xceed .NET Libraries Documentation
Xceed.SSH.Client Assembly / Xceed.SSH.Client Namespace / SFtpClient Class / ReadFile Method


In This Topic
    ReadFile Method (SFtpClient)
    In This Topic
    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 SFtpClient
    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