Imports Microsoft.Lync Imports Microsoft.Lync.Model.Conversation Imports Microsoft.Lync.Model Public Class Form1 Public WithEvents automationy As Model.Extensibility.Automation = Microsoft.Lync.Model.LyncClient.GetAutomation() Public WithEvents SkypeClient As Microsoft.Lync.Model.Client = Microsoft.Lync.Model.LyncClient.GetClient() Public WithEvents MySkype As Model.Contact = SkypeClient.ContactManager.GetContactByUri(SkypeClient.Uri.ToString) Public WithEvents AVMod As Model.Conversation.AudioVideo.AVModality = ??? Public Sub IncCall(sender As Object, e As Model.Conversation.ModalityStateChangedEventArgs) Handles AVMod.ModalityStateChanged MsgBox("There is a Call!") End Sub End Class
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)