public int NrOfRecsInFile() { try { return(CppToCsharpAdapter.NrOfRecsInFile(my_hash_file_pointer)); } catch (SEHException ex) { string message = CppToCsharpAdapter.GetLastErrorMessage(this.my_hash_file_pointer); throw new Exception(message); } catch { throw; } }