lync-client-sdk

Develop with Lync 2013 SDK on Visual Studio 2015 Community?

给你一囗甜甜゛ 提交于 2020-01-14 09:47:48
问题 Does VS2015 have any restriction regarding developing Skype for business (Lync 2013 SDK) applications? When I try to install the Lync 2013 SDK I get an error saying "Microsoft Visual Studio 2010 SP1 or higher not found." Do I need a Enterprise version? 回答1: this problem related to MS bug. You have to unpack it and try to install 64 or 86 msi package. 回答2: There are no restrictions. I developed my first application in C# and the Lync 2013 SDK using Visual Studio 2015 Community Edition. 来源:

How can I get the Lync Meeting URL programmatically in C#?

邮差的信 提交于 2019-12-25 07:15:44
问题 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: Please see the screenshot here: Lync Meeting Address in Outlook 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. I googled but I have been told that there are three SDKs can be considered for this scenario: Lync SDK - seems the

UI suppression - client stuck at SigningIn state

萝らか妹 提交于 2019-12-24 22:22:45
问题 I try to sign in to Skype For Business via my application. When I'm with UI on, I can sign in. When I set UI Suppression, my client is stuck at the signing in the state. Neither credentials event nor SigninCallback event nor SignInDelayed event is fired. Can you help me? Here is my code: public void StartUpSkype() { try { _LyncClient = LyncClient.GetClient(); if (_LyncClient == null) { throw new Exception("Unable to obtain client interface"); } if (_LyncClient.InSuppressedMode == true) { if (

Lync 2013, Accept incoming InstantMessage call

随声附和 提交于 2019-12-11 11:08:53
问题 Im having some troubles with the Lync 2013 client SDK. I want to accept incoming conversations with my own program. For AV-calls this is working fine: When a new conversation starts, the ConversationAdded event fires, the AVModality state of the conversation is Notified and when calling Accept on the modality, the conversation window of Lync pops up as expected. The trouble comes when trying to handling incoming IMcalls. On an incoming IMcall, the InstantMessageModality State is connected

Lync 2013 SDK - get Generic COM Exception at the time of calling LyncClient.GetClient()

巧了我就是萌 提交于 2019-12-11 10:27:34
问题 On my development machine Lync 2013 client and Skype for Business both applications are installed. When attempting to call LyncClient.GetClient() compiled using the Lync 2013 SDK against Skype for Business the following exception is raised. Generic COM Exception. Code is 0x80080005. If I uninstalled the Lync 2013 client then it works perfectly. For the Lync 2013 client development I have also used Lync 2013 SDK at that time I didn't get any exception. Can anyone tell me that why this

Display User Picture in Lync 2013

╄→гoц情女王★ 提交于 2019-12-11 09:29:07
问题 I am working on small application using the lync 2013 sdk. Is there any way provided in sdk where I can implement a functionality to allow user to upload his picture using any API provided in the SDK. If it is possible then what and where is the best way to store it, if the users are configured in the active directory? Waiting for a positive response from your side. Regards Amit 回答1: You can get a stream to the photo via the SDK using var photoStream = Client.Self.Contact

LyncClientException when trying to run Windows service

余生颓废 提交于 2019-12-11 03:54:44
问题 I have a Windows service that uses the Microsoft Lync 2010 SDK. When I run the service locally, everything seems to be running as expected. When I try deploying the code to a VM, when I try starting a service, it errors out saying The Foo service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs. Looking at event viewer, I see an exception Service cannot be started. Microsoft.Lync.Model.LyncClientException:

How to retrieve IM message from lync client 2013 communication

核能气质少年 提交于 2019-12-07 23:46:38
问题 I am using lync 2013 sdk and i need to create a task with conversation IM message on the end of call. I want some method as - conversation.getIMmessage() etc. how can i implement that. 回答1: So assuming you are using the Lync Client SDK you are going to need to add an event handler for IM received to the IM modality of each participant in a conversation. This is best considered in reverse order:- Set up an event handler for participant being added to a conversation:- Conversation

Get Skype for Business User Status/Availability issue in Powershell

限于喜欢 提交于 2019-11-30 21:13:54
问题 I'm using powershell to get the Status/Availability of certain users by using the following code: Import-Module "C:\...\Microsoft.Lync.Model.dll" $Client = [Microsoft.Lync.Model.LyncClient]::GetClient() $Contact = $Client.ContactManager.GetContactByUri( $args[0] ) Write-Host $Contact.GetContactInformation("Activity") Let's say I'm passing in testuser@testcompany.com as the script argument. If I run this script, it will return "Presence unknown". However, if I open up the Skype client manually