This function reads a stream from the virtual cluster and returns a stream object. The stream will be read from the specified offset until the end of the stream is reached.

Namespace: VcClient
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public static Stream ReadStream(
	string sourceStream,
	long offset,
	bool compression
)
Visual Basic
Public Shared Function ReadStream ( _
	sourceStream As String, _
	offset As Long, _
	compression As Boolean _
) As Stream
Visual C++
public:
static Stream^ ReadStream(
	String^ sourceStream, 
	long long offset, 
	bool compression
)

Parameters

sourceStream
Type: String
complete path of the stream in vc:// or http:// format.
offset
Type: Int64
The position in the stream from which the stream should be read.
compression
Type: Boolean
Whether compression should be used while transferring data from the VC.

Return Value

A stream object representing the stream being read from the VC.

See Also