Click or drag to resize
Galactic API

FileOpen Method

Opens a file at the supplied path location.

Namespace:  Galactic.FileSystem
Assembly:  Galactic.FileSystem (in Galactic.FileSystem.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public static FileStream Open(
	string path,
	bool readOnly = false
)

Parameters

path
Type: SystemString
The path to the location to open the file at.
readOnly (Optional)
Type: SystemBoolean
Whether to open the file as read-only.

Return Value

Type: FileStream
A FileStream of the file created or null if an error occurred.
See Also