private void CheckIfFlacPluginIsLoaded(string targetPath) { var loadedPlugIns = bassServiceProxy.PluginLoadDirectory(targetPath); if (!loadedPlugIns.Any(p => p.Value.EndsWith(FlacDllName))) { Trace.WriteLine("Could not load bassflac.dll. FLAC format is not supported!", "Warning"); } }