Tries to loads all BASS add-ons (bass*.dll) contained in the specified directory.
Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
public static Dictionary<int, string> BASS_PluginLoadDirectory( string dir, List<string> exclude )
Parameters
- dir
- Type: SystemString
The directory in which to search for BASS add-ons (bass*.dll). - exclude
- Type: System.Collections.GenericListString
An optional list of file names (without path and extension) to exclude (e.g. "basswma").
Return Value
Type: DictionaryInt32, StringA hash table containing all successfully loaded BASS add-ons.
The hash table will be constructed as: Key=pluginHandle and Value=filename.
Note: Only stream/music add-ons are loaded (e.g. bass_fx.dll or bassenc.dll are NOT loaded).
Remarks
Examples
Dictionary<int, string> loadedPlugIns = Bass.BASS_PluginLoadDirectory("C:\\BASS"); if (loadedPlugIns != null) { foreach (string file in loadedPlugIns.Values) Console.Writeln( file ); }
See Also