private bool IsWhiteCapInstalled() { string mpVizDll = Path.Combine(Application.StartupPath, "mpviz.dll"); if (!File.Exists(mpVizDll)) { return(false); } SoundSpectrumViz viz = new SoundSpectrumViz(new VisualizationInfo(VisualizationInfo.PluginType.WhiteCap, "", "whitecap", "", 0)); bool engineInstalled = viz.IsEngineInstalled(); viz.SafeDispose(); return(engineInstalled); }
private bool IsWhiteCapInstalled() { string mpVizDll = Path.Combine(Application.StartupPath, "mpviz.dll"); if (!File.Exists(mpVizDll)) { return false; } SoundSpectrumViz viz = new SoundSpectrumViz(new VisualizationInfo(VisualizationInfo.PluginType.WhiteCap, "", "whitecap", "", 0)); bool engineInstalled = viz.IsEngineInstalled(); viz.SafeDispose(); return engineInstalled; }