The IExtension type exposes the following members.
Returns true if this object is the same extension as that object. Extensions are considered the same if identifier, path and loader context match.
Unload this extension if it is not an internal extension and is currently loaded. Will result in a call to IExtensionHandler.OnExtensionUnloaded on success.