All pastes #1809709 Raw Edit

寄せ集め

public text v1 · immutable
#1809709 ·published 2010-02-25 14:53 UTC
rendered paste body
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using SKYPE4COMLib;

namespace SkypeTest
{
    class Program
    {
        static void Main(string[] args)
        {
            SkypeClass skype = new SkypeClass();
            Chat chat;
            ChatMessage mes;

            skype.Attach(7, true);
            chat = skype.get_Chat("#nvsofts/$b0c5bc17a8c2aa3e");
            mes = chat.SendMessage("test");
            Thread.Sleep(2000);
            skype.set_ChatMessageBody(mes.Id.ToString(), "test2");
        }
    }
}