Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# Skype Plugin

Tags:

c#

skype

There seems to be VERY little documentation on how to do this online so thought I would ask here...

Basically I want to make a very simple Skype plugin that will only be used within chat windows, and would either be triggered by a button press (if you can add buttons in easily) or/and entering a command into skype i.e "/CallMySkypePlugin"

Ideally I just want to know how to hook into skype this way, ive got Skype4COM but it doesn't say how your plugin gets called or where the entry point for skype is...

I was ideally expecting to make a new class library, then have a class that implements a Skype interface or something (for them to have an entry point), then within there latch onto a chat window "MessageSent" event or something, then call my method... i.e

public class MySkypePlugin : SkypeEntryPointInterface
{
    // The main skype functionality class
    private void Skype skype = new Skype();

    // Something like this as the entry point
    public void SkypeEntryPoint()
    { 
        skype.MessageSent += ChatWindow_MessageSent;
    }

    // Do my stuff here
    private void ChatWindow_MessageSent(SkypeEvent e) { ... }
}

Any help would be great!

like image 579
Grofit Avatar asked Jan 26 '11 18:01

Grofit


1 Answers

I believe your question (or at least a similar one) has been answered here before.

Please do check it out and see if it helps.

If not, a quick google search turns up the following results that you might like to check out, personally, I think examples are the way to go in getting these things to work, just by experimenting and playing around:-

  1. Skype4COM C#.Net Example
  2. Example from Skype Developer Blog
  3. CodeProject
  4. Skype API Documentation

...a more complete list is available here with this search, for your reference.

like image 120
evandrix Avatar answered Nov 09 '22 12:11

evandrix