API ReferenceSandbox
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
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.KeyStore |