BASS.NET API for the Un4seen BASS Audio LibraryUtilsBASSAddOnGetSupportedFileFilter Method (DictionaryInt32, String, String, Boolean, DictionaryString, String)BASS.NET API for the Un4seen BASS Audio Library
Returns a file filter which can be used in a standard 'OpenFileDialog'.

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version:

public static string BASSAddOnGetSupportedFileFilter(
	Dictionary<int, string> plugins,
	string allFormatName,
	bool includeBASS,
	Dictionary<string, string> extra


Type: System.Collections.GenericDictionaryInt32, String
The hash table as returned by the BASS_PluginLoadDirectory(String) method.
Type: SystemString
The name of the first entry which will describe all available formats. Or , if only the plain formats should be returned.
Type: SystemBoolean
, if also the native BASS formats should be added.
Type: System.Collections.GenericDictionaryString, String
A list of additional filter entries to add (key=name; value=extension; e.g. 'Playlist' - '*.pls').

Return Value

Type: String
The file filter string which can be used in a standard 'OpenFileDialog' in the format: allFormatName|AllExtensions|FormatName1|externtions1|FormatName2|externtions2...

This method uses BASSAddOnGetSupportedFileName(String) and BASSAddOnGetSupportedFileExtensions(String) internally.

Note: This list reports a set of file extensions which might be supported. There is no guarantee that the list is complete or might contain formats not being supported on your particular OS/machine (due to additional or missing audio codecs).

See Also