public void Test5() { string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "mdbx"); if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } using (MdbxEnvironment env = new MdbxEnvironment()) { env.Open(path, EnvironmentFlag.NoTLS, Convert.ToInt32("666", 8)); int maxKeySize = env.GetMaxKeySize(); int maxReaders = env.GetMaxReaders(); env.Close(); } }