示例#1
0
        public void SignIn(string userAtHost, string domainAndUsername, string password)
        {
            Lync.SignedIn                 += Lync_SignedIn;
            Lync.SignInFailed             += Lync_SignInFailed;
            Lync.CallAccepted             += Lync_CallAccepted;
            Lync.VideoAvailabilityChanged += Lync_VideoAvailabilityChanged;
            Lync.CallEnded                += Lync_CallEnded;
            Lync.CallDeclined             += Lync_CallDeclined;

            Lync.Initialize();

            Lync.SignIn(userAtHost, domainAndUsername, password);
        }
示例#2
0
 public void Shutdown()
 {
     Lync.ShutDown();
 }
示例#3
0
 public void SignOut()
 {
     Lync.SignOut();
 }
示例#4
0
 public void StartCall(string sipUri)
 {
     Lync.PlaceCall(sipUri);
     State = ApplicationState.CallInProgress;
 }
 public void Dispose()
 {
     Lync.Dispose();
     _instance = null;
 }