Beispiel #1
0
        public void Connect()
        {
            var identity = _configuration.Server.Identity ?? _configuration.GlobalIdentity;

            _connection.Connect();

            // Alright, let's hope we're connected now, time to send the initial auth handshake...
            _connection.WriteLine($"NICK {identity.Nickname}");
            _connection.WriteLine($"USER {identity.Username} * * {identity.Realname}");
        }