In the following tutorial it will be explained how to add a concept to a existing local termbase using MultiTerm SDK.
Sdl.MultiTerm.TMO.Interop vs Sdl.MultiTerm.Client.Api
MultiTerm Client is a newer API which might contain some improvements, this dll is private.
Tthis means it cannot be used in a plugin. When a plugin which uses a nonpublic api is used in Studio a error message appears when Studio is loaded. This client is recomanded to be used for standalone applications.
"Sdl.MultiTerm.Client.Api" is not a full replacement for the "Sdl.MultiTerm.TMO.Interop"
Sdl.MultiTerm.TMO.Interop is a public api, and it can be used in a plugin.
How to load a Termbase and get the Entries using Sdl.MultiTerm.TMO.Interop
First of all you need to add a reference to MultiTerm Interop library.
var multiTermApplication = new Application();
var localRep = multiTermApplication.LocalRepository;
localRep.Connect("", "");
var termbases = localRep.Termbases;
var path = termbasePath;
termbases.Add(path, "", "");
var termbase = termbases[path];
var entries = termbase.Entries;