public void Test4() { string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "mdbx"); if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } using (MdbxEnvironment env = new MdbxEnvironment()) { env.SetMapSize(1024 * 1024 * 10) .SetMaxDatabases(2) .SetMaxReaders(100) .Open(path, EnvironmentFlag.NoTLS, Convert.ToInt32("666", 8)); env.Close(); } }