NET SFTP Library
CompressStream Method






KellermanSoftware.NetSFtpLibrary Namespace > SFTP Class : CompressStream Method
Compress a stream using the specified compression type
Syntax
'Declaration
 
Public Sub CompressStream( _
   ByVal compressionType As CompressionType, _
   ByVal input As System.IO.Stream, _
   ByVal output As System.IO.Stream _
) 
'Usage
 
Dim instance As SFTP
Dim compressionType As CompressionType
Dim input As System.IO.Stream
Dim output As System.IO.Stream
 
instance.CompressStream(compressionType, input, output)
public void CompressStream( 
   CompressionType compressionType,
   System.IO.Stream input,
   System.IO.Stream output
)
public procedure CompressStream( 
    compressionType: CompressionType;
    input: System.IO.Stream;
    output: System.IO.Stream
); 
public function CompressStream( 
   compressionType : CompressionType,
   input : System.IO.Stream,
   output : System.IO.Stream
);
public: void CompressStream( 
   CompressionType compressionType,
   System.IO.Stream* input,
   System.IO.Stream* output
) 
public:
void CompressStream( 
   CompressionType compressionType,
   System.IO.Stream^ input,
   System.IO.Stream^ output
) 

Parameters

compressionType
input
output
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