FileSystem

Overview

FileSystem is a class in Aspose.3D FOSS for .NET. Inherits from: IDisposable.

File system encapsulation.

This class provides 8 methods for working with FileSystem objects in .NET programs. Available methods include: CreateDummyFileSystem, CreateLocalFileSystem, CreateMemoryFileSystem, CreateZipFileSystem, Dispose, ReadFile, WriteFile. All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.

Methods

SignatureDescription
Dispose()Dispose the File system and release its resources.
ReadFile(fileName: string, options: IOConfig)Create a stream for reading dependencies.
WriteFile(fileName: string, options: IOConfig)Create a stream for writing dependencies.
CreateLocalFileSystem(directory: string)Initialize a new FileSystem that only access local directory.
CreateMemoryFileSystem(files: Dictionary<string, MemoryStream>)Initialize a new FileSystem from a dictionary of memory streams.
CreateDummyFileSystem()Create a dummy file system, read/write operations are dummy operations.
CreateZipFileSystem(stream: Stream, baseDir: string)Create a file system to provide to the read-only access to specified zip file or zip stream.
CreateZipFileSystem(fileName: string)Create a file system to provide to the read-only access to specified zip file or zip stream.

See Also

 English