如何在C#中以编程方式获取Lync Meeting URL? [英] How can I get the Lync Meeting URL programmatically in C#?

查看:239
本文介绍了如何在C#中以编程方式获取Lync Meeting URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前我正在运行ASP.NET Web应用程序,并且我的网页需要像Outlook一样提供一个按钮来获取Lync Meeting URL:

Currently I am running an ASP.NET web application and my web page needs to provide a button to get the Lync Meeting URL just like the Outlook does:

请在此处查看屏幕截图: Outlook中的Lync会议地址

Please see the screenshot here: Lync Meeting Address in Outlook

此按钮的行为是:单击该按钮后,将检索Lync Meeting URL(可能从Exchange服务器),并显示在网页上的asp:Label控件上.

The behavior of this button is when it is clicked, the Lync Meeting URL is retrieved (maybe from the Exchange server) and is shown on a asp:Label control on the web page.

我用谷歌搜索,但被告知在这种情况下可以考虑使用三种SDK:

I googled but I have been told that there are three SDKs can be considered for this scenario:

  1. Lync SDK-似乎在使用SDK时必须运行Lync客户端
  2. Microsoft统一通信托管API(UCMA)
  3. Microsoft Exchange Web服务(EWS)

我对这三个SDK感到非常困惑,并且不知道如何利用这三个SDK来实现我的目标,有人可以帮我吗?如果您可以在此处发布一些示例代码,将不胜感激.

I am really confused on these three SDKs, and don't know how to achieve my goal by utilizing these SDKs, could someone please help me? It would be much appreciate if you can post some sample code here.

谢谢!

推荐答案

  1. 连接到Exchange并使用Exchange WebServices检索用户的会议安排(就像您对EWS所说的那样),每个会议对象中都有一个保存会议URL的属性,这里是一个很好的概述确保您已连接到Lync Server并登录.MSDNLync 2013指南的操作方法"选项卡上有很多不错的教程

    Make sure you are connected to the Lync Server and signed in. there are a bunch of good tutorials in the "How To" tab on the MSDN Lync 2013 guide

    一旦您初始化了LyncClient的实例,请致电

    Once you have an instance of LyncClient initialized, call

    yourLyncClientInstanceConversationManager.AddConversation();
    

  2. 在您添加了对话的事件处理程序中,使用

  3. In your Conversation added event handler, use

    yourLyncClientInstance.ConversationManager.JoinConference(exchangeUrl);
    

  4. 这篇关于如何在C#中以编程方式获取Lync Meeting URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆