Example #1
0
        public TwitchChatRoom(string streamChannel, string username, string password)
        {
            _client = new TcpClientDataSource(streamChannel + ".jtvirc.com", 6667);
            Username = username;
            Password = password;
            Channel = streamChannel;

            _client.DataReceived += ClientOnDataReceived;
            _client.Connected += ClientConnected;
            _client.Disconnected += ClientDisconnected;

            _client.Start();
        }
Example #2
0
        public TwitchChatRoom(string streamChannel, string username, string password)
        {
            _client  = new TcpClientDataSource(streamChannel + ".jtvirc.com", 6667);
            Username = username;
            Password = password;
            Channel  = streamChannel;

            _client.DataReceived += ClientOnDataReceived;
            _client.Connected    += ClientConnected;
            _client.Disconnected += ClientDisconnected;

            _client.Start();
        }