StreamWrapperFactory

StreamWrapperFactory class

Factory of StreamWrappers. For COM interface.

public class StreamWrapperFactory : IStreamWrapperFactory

Constructors

NameDescription
StreamWrapperFactory()The default constructor.

Methods

NameDescription
CreateFileStreamWrapper(string, FileMode)Creates FileStream with the specified path and creation mode.
CreateFileStreamWrapper(string, FileMode, FileAccess)Creates FileStream with the specified path, creation mode, and read/write permission.
CreateMemoryStreamWrapper()Creates MemoryStream wrapper.
CreateMemoryStreamWrapper(byte[])Creates MemoryStream wrapper based on the specified byte array.

See Also