BASS.NET API for the Un4seen BASS Audio Library

BassBASS_ChannelGetTagsID3V2_2 Method

BASS.NET API for the Un4seen BASS Audio Library
Retrieves the 2nd ID3v2 header tags from a channel, if they are available.

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

public static string[] BASS_ChannelGetTagsID3V2_2(
	int handle
)

Parameters

handle
Type: SystemInt32
The channel handle...a HSTREAM.

Return Value

Type: String
or an array of strings. Each array element will represent one tag in the format 'FrameId=Value' (e.g. "TIT2=This is a Title").
Exceptions

ExceptionCondition
NotSupportedExceptionInvalid/Unsupported ID3v2 version detected.
Remarks

Only tag values containing strings are returned (e.g. Txxx, Wxxx or COMM tags).

ID3v2 tags are supported at both the start and end of the file.

In addition you might also use the BassTags class, which provides extended TAG reading support.

ERROR CODEDescription
BASS_ERROR_HANDLEhandle is not valid.
BASS_ERROR_NOTAVAILThe requested tags are not available.

See Also

Reference