Back to product page

Stop method


Stops the channel tunneling.

Type

None

Remarks

Once you call the Stop method, channel will stop accepting new connections and any users currently connected to the channel will be disconnected.

If you want to wait until users disconnect by themselves before closing the channel, you should first deny new connections to the channel (from the UserConnecting event) and when the last user leaves the channel (which can be detected in the UserDisconnected event) you can close the channel.

Platforms

Windows