public void Stop(PlugInInfo plugInInfo) { try { //PlugInFactory factory = new PlugInFactory(); IPlugIn plugIn = PlugInFactory.CreatePlugIn(plugInInfo.PlugInData); plugIn.Stop(); } catch (Exception ex) { Log.ShowErrorBox(ex); } }