SharpFS -- A Virtual FileSystem for .NET

FileManager.GetStream Method (String, Boolean)

[This is preliminary documentation and subject to change.]

Returns a stream that allows the client to access file data.

public MemoryStream GetStream(
   string fileName,
   bool issueRequest
);

Parameters

fileName
The name of the file to access.
issueRequest
If true, and a request for this file does not exist, a new request will be submitted.

Return Value

A stream allowing access to the file's data, or null if an error occurred..

Remarks

This call will block until the request for this file has completed.

See Also

FileManager Class | SharpFS Namespace | FileManager.GetStream Overload List