Open FileName as FileStream with ReadOnly rights. (another process cannot write to the stream)
Namespace:
Hyleos.Common.IOAssembly: Hyleos.Common (in Hyleos.Common.dll) Version: 1.0.3.2 (1.0.3.2)
Syntax
| C# |
|---|
public static FileStream OpenReadFile( string filename ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function OpenReadFile ( _ filename As String _ ) As FileStream |
| Visual C++ |
|---|
public: static FileStream^ OpenReadFile( String^ filename ) |
Parameters
- filename
- Type: System..::.String
File name to open in readonly mode