Xceed .NET Libraries Documentation
Xceed.SSH.SFtp Assembly / Xceed.SSH.SFtp Namespace / SFtp Class / BeginWriteFile Method


In This Topic
    BeginWriteFile Method
    In This Topic
    Syntax
    'Declaration
     
    Public Function BeginWriteFile( _
       ByVal handle() As Byte, _
       ByVal offset As Long, _
       ByVal buffer() As Byte, _
       ByVal bufferOffset As Integer, _
       ByVal count As Integer, _
       ByVal callback As AsyncCallback, _
       ByVal state As Object _
    ) As IAsyncResult
    '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 callback As AsyncCallback
    Dim state As Object
    Dim value As IAsyncResult
     
    value = instance.BeginWriteFile(handle, offset, buffer, bufferOffset, count, callback, state)
    public IAsyncResult BeginWriteFile( 
       byte[] handle,
       long offset,
       byte[] buffer,
       int bufferOffset,
       int count,
       AsyncCallback callback,
       object state
    )

    Parameters

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