Assembly: Bass.Net (in Bass.Net.dll) Version: 18.104.22.168
public bool AutoConnect()
Public Function AutoConnect As Boolean
public: bool AutoConnect()
member AutoConnect : unit -> bool
Return ValueType: Boolean
on success, else (see LastError or LastErrorMessage for details).
If the Server has set the UseBASS flag to , the Server will handle any communication via BASS_Encode_CastInit(Int32, String, String, String, String, String, String, String, String, Int32, Boolean).
Prior to the Connect an internal encoder callback will be created.
The internal encoder callback is created using Start(ENCODEPROC, IntPtr, Boolean). This internal callback will already handle the SendData(IntPtr, Int32), StartEncoder(ENCODEPROC, IntPtr, Boolean) and StopEncoder automatically for you.
If the channel handle (as defined in the ChannelHandle) is already playing, it will be shortly paused during the setup and resumed when done.
Note: If you have set the AutoReconnect property to this call will automatically try to reconnect even if this method returns !