BASS.NET API for the Un4seen BASS Audio Library

BroadCastGetListeners Method

BASS.NET API for the Un4seen BASS Audio Library
Returns the number of listeners currently connected.

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

public int GetListeners(
	string password
)

Parameters

password
Type: SystemString
The optional admin password to use (=use default).

Return Value

Type: Int32
The current number of listeners (or -1 if not available).
Remarks

Some StreamingServer implementations might not be able to retrieve the current listener count, in which case -1 would be returned. However, the following servers should be supported: SHOUTcast, ICEcast, WMAcast (if not using a publishing point).
See Also

Reference