
IIRC this applies to all COM interop assemblies anyway.You can even take a few minutes to discover all the benefits that Chatinum actually has. In contrast to jgauffin, the wrapper I wrote does not modify anything, just read-only except for the status.įinally, one small deployment issue: You must compile the executable to x86 for the SKYPE4COMLib to work correctly. Var listViewItem = new ListViewItem(newĪs you can see there are some auxiliary extension methods to get image indices, status message texts (that need to be localized) and so on. Where, for example: private void UserMoodChange(object sender, UserSomethingChangedArgs args) Registering for some events += UserStatusChange If you wish, extend it and maybe even post it back here if you want to.

Private void SkypeUserMood(User puser, string moodtext)įireUserMood(puser.GetUserInfo(), (), moodtext)

_skype.OnlineStatus += SkypeOnlineStatus Private readonly Skype _skype = new Skype() Private static readonly SkypeApplication TheInstance = new SkypeApplication() In addition to what jgauffin said, here's the (singleton) wrapper class that I used to use (C# 3): using System _skype.get_Chat(pmessage.ChatName).SendMessage(pmessage.Body) Ĭollection.BuddyStatus = TBuddyStatus.budPendingAuthorization If (status != TChatMessageStatus.cmsReceived) dont do anything if the message is not received (i.e.

Private void OnMessage(ChatMessage pmessage, TChatMessageStatus status) this app was successfully attached to skype Private void OnAttach(TAttachmentStatus status) _skype._ISkypeEvents_Event_AttachmentStatus += OnAttach
