Skip to content
Auto
Products

MemoryFileSystem

Namespace: TagBites.IO
Assembly: TagBites.IO.dll
Product: TagBites.IO v. 2.0.0

Exposes static methods for creating an in-memory file system.

public static class MemoryFileSystem

Inheritance: object → MemoryFileSystem

The content is held by the returned FileSystem instance and never reaches a disk or any external storage. Disposing the instance releases it.

Creates a new, empty in-memory file system.

public static FileSystem CreateMemory()

FileSystem

A FileSystem object backed entirely by memory.

Each call returns a separate file system, so two of them share no content. Hidden, read-only and last write time metadata are supported, as are permissions and direct stream access. Changes raise no watcher notification.