Click or drag to resize
FileStreamNew Method (String, FileMode, FileAccess, FileShare)
Initializes new instance and intializes new system file stream.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 11.0.0
Syntax
C#
public static FileStream New(
	string path,
	FileMode mode,
	FileAccess access,
	FileShare share
)

Parameters

path
Type: SystemString
Path to file
mode
Type: CMS.IOFileMode
File mode
access
Type: CMS.IOFileAccess
File access
share
Type: CMS.IOFileShare
Sharing permissions

Return Value

Type: FileStream
See Also