Assembly: Bass.Net (in Bass.Net.dll) Version: 22.214.171.124
[DllImportAttribute("bassenc.dll", CharSet = CharSet.Auto)] public static bool BASS_Encode_ServerKick( int handle, string client )
<DllImportAttribute("bassenc.dll", CharSet := CharSet.Auto>] Public Shared Function BASS_Encode_ServerKick ( handle As Integer, client As String ) As Boolean
public: [DllImportAttribute(L"bassenc.dll", CharSet = CharSet::Auto)] static bool BASS_Encode_ServerKick( int handle, [InAttribute] String^ client )
[<DllImportAttribute("bassenc.dll", CharSet = CharSet.Auto)>] static member BASS_Encode_ServerKick : handle : int * client : string -> bool
- Type: SystemInt32
The encoder handle.
- Type: SystemString
The client(s) to kick... "" (empty string) = all clients. Unless a port number is included, this string is compared with the start of the connected clients' IP address.
Return ValueType: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
The clients may not be kicked immediately, but shortly after the call. If the server has been setup with an ENCODECLIENTPROC callback function, that will receive notification of the disconnections.
|BASS_ERROR_HANDLE||handle is not valid.|
|BASS_ERROR_NOTAVAIL||No matching clients were found.|
This function is not available on Windows CE.