For setting the environment, I need to access the ExtensionManager in ArcObjects Engine application and add an extension by clearing the available extensions
IExtensionManager extentionManager = ____ as IExtensionManager;
UID uid = new UIDClass();
uid.Value = "esriTrackingAnalyst.TrackingEngineUtil";
((IExtensionManagerAdmin)extentionManager).AddExtension(uid, ref mapObj);
How can I clear the extensions, and have a fresh extension load.