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

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

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
bufferSize
Type: SystemInt32
Buffer size

Return Value

Type: FileStream
See Also