public void H5Fstart_mdc_loggingTestSWMR1() { hid_t fapl = H5P.create(H5P.FILE_ACCESS); Assert.IsTrue(fapl >= 0); Assert.IsTrue( H5P.set_libver_bounds(fapl, H5F.libver_t.LATEST) >= 0); hbool_t is_enabled = 1; string location = "mdc.log"; hbool_t start_on_access = 0; Assert.IsTrue( H5P.set_mdc_log_options(fapl, is_enabled, location, start_on_access) >= 0); string fileName = Path.GetTempFileName(); hid_t file = H5F.create(fileName, H5F.ACC_TRUNC, H5P.DEFAULT, fapl); Assert.IsTrue(file >= 0); Assert.IsTrue(H5F.start_mdc_logging(file) >= 0); hid_t group = H5G.create(file, "/A/B/C", m_lcpl); Assert.IsTrue(group >= 0); Assert.IsTrue(H5G.close(group) >= 0); Assert.IsTrue(H5F.stop_mdc_logging(file) >= 0); Assert.IsTrue(H5F.close(file) >= 0); Assert.IsTrue(H5P.close(fapl) >= 0); File.Delete("mdc.log"); }