StreamWrapperFactory class

Factory of StreamWrappers. For COM interface.

public class StreamWrapperFactory : IStreamWrapperFactory


Name Description
StreamWrapperFactory() The default constructor.


Name Description
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