Created
June 2, 2010 16:44
-
-
Save mlehman/422649 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TocClient tc = new TocClient(); | |
tc.Message += new MessageEventHandler(OnMessage); | |
tc.SignOn("myscreenname","password"); | |
tc.StartListening(); | |
... | |
protected void OnMessage(object sender, MessageEventArgs e){ | |
WriteLine("{0}: {1}",e.From, e.Message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment