Gets a list of all winamp input plug-ins in a given directory.
If the BASS_WINAMP_FIND_COMMALIST flag was set it will automatically be removed.
Namespace: Un4seen.Bass.AddOn.Winamp
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
public static string[] BASS_WINAMP_FindPlugins( string pluginpath, BASSWINAMPFindPlugin flags )
Parameters
- pluginpath
- Type: SystemString
The path of the directory to search in. - flags
- Type: Un4seen.Bass.AddOn.WinampBASSWINAMPFindPlugin
Any combination of the following (see BASSWINAMPFindPlugin):BASS_WINAMP_FIND_INPUT Find input plug-ins. Should and must always be specified. BASS_WINAMP_FIND_RECURSIVE Recursively loop through all sub-directories as well.
Return Value
Type: StringA string array of the plug-in list or if no plug-in could be found.
Examples
C#
string[] waPlugIns = BassWinamp.BASS_WINAMP_FindPlugins( @"C:\Programme\Winamp\Plugins", BASSWINAMPFindPlugin.BASS_WINAMP_FIND_INPUT | BASSWINAMPFindPlugin.BASS_WINAMP_FIND_RECURSIVE ); foreach (string waPlugIn in waPlugIns) { Console.WriteLine( waPlugIn ); }
See Also