S&box Wiki

Sandbox.BaseFileSystem.OpenRead

Syntax

System.IO.Stream OpenRead( string path, System.IO.FileMode mode = Open )

Description

Open a file for read. Will throw an exception if it doesn't exist.

Arguments

string path
System.IO.FileMode mode Open

Returns

System.IO.Stream