Click or drag to resize

IStreamerOpenRead Method

Opens the stream for reading.

Namespace: RCS.Carbon.Variables
Assembly: RCS.Carbon.Variables (in RCS.Carbon.Variables.dll) Version: 9.0.12
Syntax
C#
bool OpenRead(
	string name,
	bool tryCache = false
)

Parameters

name  String
The name of the Blob or file to open for reading.
tryCache  Boolean  (Optional)
True to attempt to find an Azue Blob in a local cache before opening the Blob. This flag is only meaningful for the Azure storage backed streamer. The default is False.

Return Value

Boolean
Returns True if the stream was opened, False otherwise and the Message field will contain an error message. False can only be returned by OpenRead(String, Boolean) and OpenZipRead(String). The open write methods always return True.
See Also