public void Test2() { 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)); var stat = env.Info(); env.Close(); } }