s&box docs

public sealed class Sandbox.KeyStore

Allows storing files by hashed keys, rather than by actual filename. This is sometimes useful.

Methods

Showing 6 methods

public static Sandbox.KeyStore CreateGlobalCache()

Creates a keystore which is in a global cache position. The folder can be deleted at any time, and it's all fine and no-one cares.

public bool Exists(string key)

Check if a key exists

public byte[] Get(string key)

Get stored bytes, or return null

public void Remove(string key)

Remove a key

public void Set(string key, byte[] data)

Store a bunch of bytes

public bool TryGet(string key, byte[] data)

Get stored bytes, or return false

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.KeyStore

On this page