Xceed .NET Libraries Documentation
ComputeStreamBufferSize(Stream) Method


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SFtpSession Class > ComputeStreamBufferSize Method : ComputeStreamBufferSize(Stream) Method
Computes the optimal buffer size for SFtp file transfers on the specified stream.
Syntax
'Declaration
 
Public Overloads Function ComputeStreamBufferSize( _
   ByVal stream As Stream _
) As Integer
'Usage
 
Dim instance As SFtpSession
Dim stream As Stream
Dim value As Integer
 
value = instance.ComputeStreamBufferSize(stream)
public int ComputeStreamBufferSize( 
   Stream stream
)

Parameters

stream

Return Value

An Integer value that represents the optimal buffer size for SFtp file transfers on the specified stream.
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

SFtpSession Class
SFtpSession Members
Overload List