Class SplitSqlite
- Namespace
- VpnHood.Core.Filtering.Sqlite
- Assembly
- VpnHood.Core.Filtering.Sqlite.dll
Provides the one-time setup of the native SQLite library that Microsoft.Data.Sqlite.Core needs, and the
memory the library holds.
public static class SplitSqlite
- Inheritance
-
SplitSqlite
- Inherited Members
Methods
EnsureInitialized()
Registers the native SQLite library of the package's bundle, once in a process; later calls do nothing.
public static void EnsureInitialized()
Remarks
The builders and filters of this package call it themselves; call it before opening a SqliteConnection of your own.
MemoryUsed()
Gets the bytes the native SQLite library holds now, for all the process's connections
(sqlite3_memory_used).
public static long MemoryUsed()
Returns
- long
The bytes; -1 before EnsureInitialized(), or when the call fails.