Hang up a Skype call with C#

Description of the problem: hang up a call with Skype

If you’re using ActiveS to control Skype, it’s easy. If not, you should check if you can migrate to ActiveS – which is really recommended!

Solution – hang up the call

Assuming that the current Call object is called call, you can hang up a call with just changing the status to prgFinished.

call.Status = SKYPEAPILib.SkypeCallProgress.prgFinished;

You can get this Call object with placing an outgoing call (AccessClass.PlaceCall(string username)), taking a call for a call id (AccessClass.GetCall(int callId)) or walking through the list of calls (AccessClass.GetCallList(), returns a list of Call objects).

See also register incomming Skype calls with ActiveS in C#

Skype & C# / .Net

Controlling Skype with a .NET language is easy:

Please note: the following content is partially outdated and only available for historic reasons.

  • Download the ActiveS library here and install it

Using Skype API wrapper ActiveS [outdated]

More Skype knowledge – html based

Add Skype functionality to a html page

More ressources