public void StopListener(TwitchClient c) { c.Listener.Abort(); this.Stream.Close(); this.Client.Close(); }
public void StartListener(TwitchClient c) { c.Listener = new Thread(() => ListenerThread(c)); c.Listener.Start(); }