Using Skype API to make call

♀尐吖头ヾ 提交于 2019-12-24 03:27:33

问题


I am trying to making call programmatically through Skype. Skype is installed in my PC but when I am trying to make call through Skype API & C# then every time I am getting a exception called Connection refuse and I am not being able to fix it. So, looking for proper guide to solve the issue.

Here is code snippet by which I am trying to make call programmatically.

Skype skype;
skype = new SKYPE4COMLib.Skype();
string SkypeID = "+222222222";
Call call = skype.PlaceCall(SkypeID);
do
{
    System.Threading.Thread.Sleep(1);
} while (call.Status != TCallStatus.clsInProgress);

Please guide me what is missing in my code. Thanks

来源:https://stackoverflow.com/questions/22353334/using-skype-api-to-make-call

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!