コード例 #1
0
        // Login: Log into the IRC server
        public void Login(AuthentificationInformations ai)
        {
            // If the client isn't connected, return
            if (!IsConnected)
            {
                return;
            }

            // Send the login informations and join the wanted channel
            SendData(new string[] {
                "PASS " + ai.Password,
                "NICK " + ai.Nick,
                "JOIN #" + currentChannel
            });
        }
コード例 #2
0
ファイル: IRC.cs プロジェクト: r00tKiller/Dagobar
        // Login: Log into the IRC server
        public void Login(AuthentificationInformations ai)
        {
            // If the client isn't connected, return
            if (!IsConnected) return;

            // Send the login informations and join the wanted channel
            SendData(new string[] {
                "PASS " + ai.Password,
                "NICK " + ai.Nick,
                "JOIN #" + currentChannel
            });
        }