BASS.NET API for the Un4seen BASS Audio LibraryBassWinampBASS_WINAMP_FindPlugins Method BASS.NET API for the Un4seen BASS Audio Library
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.12.0
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_INPUTFind input plug-ins. Should and must always be specified.
BASS_WINAMP_FIND_RECURSIVERecursively loop through all sub-directories as well.

Return Value

Type: String
A string array of the plug-in list or if no plug-in could be found.
Examples

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

Reference