Hi there!
This one is easy. If you are registering only one application, use
static form of
Metabase.RegisterApplication() method. It automatically loads existing entries and saves everything after registration is done.
Generally you want to get an instance of the Metabase() object only when you register or unregister multiple applications at once - to avoid multiple Load() and Save() calls. In case you need to use instance version of the RegisterApplication() method, you have to start with getting Metabase() instance using factory:
Code:Metabase ultiDevCassiniMetabase = Metabase.Load();
Best regards,
UltiDev Team.
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.