Opens an existing file for reading.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic static FileStream OpenRead(
string fileToRead
)
Parameters
- fileToRead String
- The file to be opened for reading.
Return Value
FileStreamA read-only stream on the specified path.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also