Table of Contents

Class UserStorage

Namespace
Sdl3Sharp.IO
Assembly
Sdl3Sharp.dll

A storage area for a user's unique read/write file system

public sealed class UserStorage : Storage, IDisposable
Inheritance
UserStorage
Implements
Inherited Members

Constructors

UserStorage(string, string, Properties?)

Creates a new UserStorage

public UserStorage(string orgName, string appName, Properties? properties = null)

Parameters

orgName string

The name of your organization

appName string

The name of your application

properties Properties

An optional group of properties that may contain backend-specific information

Remarks

While a TitleStorage can generally be kept open throughout runtime, a UserStorage should only be opened when the application is ready to read or write files. This allows the backend to properly batch file operations and flush them when the container has been closed; ensuring safe and optimal save I/O.

Exceptions

SdlException

The UserStorage could not be opened (check TryGet(out string?) for more information)