Click or drag to resize
FileStream Class
Exposes a stream around a file, supporting both synchronous and asynchronous read and write operations.
Inheritance Hierarchy

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 10.0.0
Syntax
C#
public abstract class FileStream : Stream

The FileStream type exposes the following members.

Constructors
  NameDescription
Protected methodFileStream
Creates new instance of FileStream object.
Top
Properties
  NameDescription
Public propertyPath
Stream path
Public propertySystemStream

Gets Stream. Since Stream is compatible with system stream, returns this by default.

This member is provided for compatibility reasons and should not be used nor overridden in custom code.

(Inherited from Stream.)
Top
Methods
  NameDescription
Public methodLogFileOperation
Logs the file operation. Logs the file operation to the file and to current request log for debugging.
Public methodStatic memberNew(String, FileMode)
Initializes new instance and intializes new system file stream.
Public methodStatic memberNew(String, FileMode, FileAccess)
Initializes new instance and intializes new system file stream.
Public methodStatic memberNew(String, FileMode, FileAccess, FileShare)
Initializes new instance and intializes new system file stream.
Public methodStatic memberNew(String, FileMode, FileAccess, FileShare, Int32)
Initializes new instance and intializes new system file stream.
Top
See Also