Assembly: Bass.Net (in Bass.Net.dll) Version: 184.108.40.206
Return ValueType: Boolean
on success (not connected), else (connection status unknown, see LastError or LastErrorMessage for details).
Note: If you stop or free the underlying stream channel you must also call this method in order to disconnect from the server.
Caution: Disconnecting will in any case also stop the underlying server encoder in use (StopEncoder will be called!). So if you started broadcasting in the manual mode (via Connect) you need to manually start your encoder again. If you have enabled the AutoReconnect feature a EncoderRestartRequired event Notification will be raised.
If this method returns , check the Status, it might be the case, that you are still connected (e.g. if the encoder could not be stopped)!
Once disconnected successfully, the AutoConnect feature will also be disabled (no further connect retries will be made). You need to start broadcasting again via Connect or AutoConnect in order to restart.