Swin Messenger:Hello World How To

From SwinBrain

This is a How To article designed to give step-by-step instructions. Search SwinBrain and the external links if you require more detailed information about this topic.

Hello World

  1. Create a window application project.
  2. Add all the references
  3. Copy the follow code and paste into the constructor of the Form1 class.
    1. Server server = new Server("hostname", "username", "password");
    2. server.Login();
    3. server.OnLogin += delegate(object sender, EventArgs e)
    4. {
    5. server.SentTo("contactID", "Hello World.");
    6. };
  4. Build and run the application

Please refer to Swin Messenger How To for more details on how to set up an application.

Links

  1. Swin Messenger
  2. Swin Messenger How To